Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Sep 3, 2024
1 parent 9109580 commit 6a2cca5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/specs/browser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ describe( 'Storefront', () => {
} );

it( 'should have "built with WooCommerce" footer', async () => {
await expect( page ).toMatch( 'Built with WooCommerce.' );
const footerText = await page.evaluate( () => document.querySelector( 'body' ).innerText );
expect( footerText ).toMatch( 'Built with WooCommerce.' );
} );
} );

0 comments on commit 6a2cca5

Please sign in to comment.