Skip to content

Commit

Permalink
use timeout instead of wait
Browse files Browse the repository at this point in the history
  • Loading branch information
avneet-raj committed Feb 28, 2024
1 parent 782612b commit 0eb0720
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/brand-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
with:
plugin-branch: 'release/3.9.0'
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
plugin-repo: "bluehost/bluehost-wordpress-plugin"
Expand All @@ -40,7 +39,6 @@ jobs:
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
with:
plugin-branch: 'release/2.7.0'
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
plugin-repo: "newfold-labs/wp-plugin-hostgator"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe( 'SiteGen Fork Step', function () {
cy.visit(
'wp-admin/?page=nfd-onboarding#/wp-setup/step/fork'
);
cy.wait(60000);
cy.timeout(60000);
cy.wait(5000);
} );

Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/integration/wp-module-support/siteGen.cy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// <reference types="Cypress" />

export const AdminBarCheck = () => {
cy.get( '.nfd-onboarding-header__admin-bar', {timeout:15000} ).should('be.visible');
cy.get( '.nfd-onboarding-header__admin-bar', {timeout:60000} ).should('be.visible');
};

export const DarkBGCheck = () => {
Expand Down

0 comments on commit 0eb0720

Please sign in to comment.