Skip to content

Commit

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

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

0 comments on commit 995ea38

Please sign in to comment.