Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Split sorting test step in two
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrogerlux committed Mar 7, 2022
1 parent 1da17a3 commit 0d4214c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/specs/market.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ test("Market", async ({ page }) => {
await marketPage.toggleInvertSort();
await marketPage.waitForLoading();
expect(await page.screenshot()).toMatchSnapshot("market-page-inverted-sort.png");
});

await test.step("revert sorting", async () => {
await marketPage.toggleInvertSort();
await marketPage.waitForLoading();
expect(await page.screenshot()).toMatchSnapshot("market-page.png");
Expand Down

1 comment on commit 0d4214c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint outputs ✅

Tests outputs ✅

PASS src/generate-cryptoassets-md.test.js

Test Suites: 1 skipped, 1 passed, 1 of 2 total
Tests: 5 skipped, 1 passed, 6 total
Snapshots: 0 total
Time: 2.846 s
Test results written to: report.json

Diff output ✅

Please sign in to comment.