Skip to content

Commit

Permalink
Merge branch 'dev/10239-atomic-workflow' of https://github.com/Automa…
Browse files Browse the repository at this point in the history
…ttic/woocommerce-payments into dev/10239-atomic-workflow
  • Loading branch information
eduardoumpierre committed Feb 6, 2025
2 parents 715f3cd + 73c6ab5 commit 4093319
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ describeif( shouldRunWCBlocksTests )(
);
} );

/**
* Reload the page after each test to ensure a clean state.
* Otherwise we get flaky results.
*/
test.afterEach( async () => {
await shopperPage.reload();
} );

test.afterAll( async () => {
await shopper.emptyCart( shopperPage );
} );
Expand Down

0 comments on commit 4093319

Please sign in to comment.