From d0f43aa3683d36a5c1102cc767bd440b28822836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20S=C3=BCdkamp?= Date: Thu, 28 Sep 2023 16:50:29 +0200 Subject: [PATCH] test --- e2e/test-1.spec.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/e2e/test-1.spec.ts b/e2e/test-1.spec.ts index 0af05c9..3e0086b 100644 --- a/e2e/test-1.spec.ts +++ b/e2e/test-1.spec.ts @@ -13,8 +13,10 @@ test.beforeEach(async ({ page }) => { }); test("test", async ({ page }) => { - // await expect( - // page.getByRole("heading", { name: "HSC Leihnoten Verwaltung" }) - // ).toBeVisible(); - await expect(page.getByRole('link', { name: 'Ausleihen anzeigen' })).toBeDefined(); + await expect( + page.getByRole("heading", { name: "HSC Leihnoten Verwaltung" }) + ).toBeDefined(); + expect(page.getByRole('link', { name: 'Ausleihen anzeigen' })).toBeDefined(); + expect(page.getByRole('link', { name: 'QRCode für Login anzeigen' })).toBeDefined(); + await expect(page.getByRole('link', { name: 'QRCode für Login anzeigen' })).toBeVisible(); });