Skip to content

Commit

Permalink
Remove failing tests which was added for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
imanish003 committed Dec 23, 2024
1 parent 1d68aa5 commit 0c0cb01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions e2e/specs/browser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ describe( 'Storefront', () => {
} );

it( 'should have "built with WooCommerce" footer', async () => {
const footerText = await page.evaluate(
() => document.querySelector( 'body' ).innerText
);
expect( footerText ).toMatch( 'This text does not exist' );
const footerText = await page.evaluate( () => document.querySelector( 'body' ).innerText );
expect( footerText ).toMatch( 'Built with WooCommerce.' );
} );
} );
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"eslint-plugin-import": "2.29.1",
"github-label-sync": "2.3.1",
"jest-puppeteer": "10.1.0",
"jest-html-reporters": "^3.1.4",
"jest-html-reporters": "^3.1.7",
"lodash": "4.17.21",
"node-wp-i18n": "1.2.7",
"onchange": "7.1.0",
Expand Down

0 comments on commit 0c0cb01

Please sign in to comment.