Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed May 4, 2023
1 parent 873fa82 commit b3f8637
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/e2e/specs/shopper/mini-cart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ describe( 'Shopper → Mini Cart', () => {
// Wait for the drawer to fully open.
await page.waitForTimeout( 500 );

await page.click(
'.wc-block-mini-cart__drawer .components-modal__header button'
);
await page.click( '.wc-block-components-drawer__close' );

await expect( page ).not.toMatchElement(
'.wc-block-mini-cart__drawer',
Expand Down

0 comments on commit b3f8637

Please sign in to comment.