Skip to content

Commit

Permalink
Fix order of expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Jan 6, 2025
1 parent c8f7182 commit a1918dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/browser/test/e2e.playwright.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ test("Try issuing an invalid credential, get an error", async ({

// Try to issue VC with invalid credentials
await Promise.all([
page.click("button[data-testid=issue-invalid-vc]"),
page.click("button[data-nextjs-errors-dialog-left-right-close-button]"),
page.waitForRequest((request) => request.method() === "POST"),
page.waitForResponse((response) => response.status() === 400),
page.click("button[data-testid=issue-invalid-vc]"),
page.click("button[data-nextjs-errors-dialog-left-right-close-button]"),
]);
// Validate we get nothing in response
await expect(
Expand Down

0 comments on commit a1918dc

Please sign in to comment.