refactor(e2e): use more stable assertion

This commit is contained in:
Nicolas Meienberger 2026-05-22 20:19:56 +02:00
parent 47f8f2f03a
commit 237a798a22
No known key found for this signature in database

View file

@ -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();
});