Skip to content

Commit

Permalink
updated the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed May 22, 2024
1 parent 22d47d2 commit 50df3ca
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/cypress/integration/wp-module-support/siteGen.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@ export const AdminBarCheck = () => {
);
};

/* export const DarkBGCheck = () => {
cy.wait( 2000 );
// When the page loads, it should have dark background by default
cy.get( '.nfd-onboarding-sitegen-dark' ).should( 'be.visible' );
};
export const LightBGCheck = () => {
cy.get( '.nfd-onboarding-toggle__theme__button__dark' )
.should( 'exist' )
.click();
cy.get( '.nfd-onboarding-sitegen-light' ).should( 'be.visible' );
// Now changing the background back to dark
cy.get( '.nfd-onboarding-toggle__theme__button__light' )
.should( 'exist' )
.click();
cy.get( '.nfd-onboarding-sitegen-dark' ).should( 'be.visible' );
};
*/

export const LightBGCheck = () => {
cy.wait( 2000 );
// When the page loads, it should have light background by default
Expand Down

0 comments on commit 50df3ca

Please sign in to comment.