refactor(e2e): use more stable assertion
This commit is contained in:
parent
47f8f2f03a
commit
237a798a22
1 changed files with 1 additions and 1 deletions
|
|
@ -47,5 +47,5 @@ test("user can enable 2FA and sign in with a TOTP code", async ({ page }) => {
|
|||
await fillOtp(page, await generateTotp(secret));
|
||||
|
||||
await expect(page).toHaveURL("/volumes");
|
||||
await expect(page.getByRole("heading", { name: "No volume" })).toBeVisible();
|
||||
await expect(page.getByRole("button", { name: "Create Volume" })).toBeVisible();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue