test(frontend): Add goto(root)

This commit is contained in:
Tibo De Peuter 2025-05-16 16:21:43 +02:00
parent f75dcd988d
commit 89eba4f9a0
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,8 @@
import { test, expect } from '@playwright/test';
test('Teacher can create new assignment', async ({ page }) => {
await page.goto("/")
// Login
await page.getByRole("link", { name: "log in" }).click();
await page.getByRole("button", { name: "teacher" }).click();