Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hsc-nue committed Sep 28, 2023
1 parent c642ab5 commit d0f43aa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions e2e/test-1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

0 comments on commit d0f43aa

Please sign in to comment.