This commit is contained in:
MartinBraquet
2025-08-05 17:47:40 +02:00
parent b8706eae10
commit 7f2ba4d727

View File

@@ -1,7 +1,7 @@
import {expect, test} from '@playwright/test';
test('shows loading spinner on load', async ({page}) => {
await page.goto('http://localhost:3000/profiles'); // Adjust this to your route
await page.goto('http://localhost:3000/profile'); // Adjust this to your route
const spinner = page.locator('[data-testid="spinner"]');
await expect(spinner).toBeVisible();