Files
Compass/tests/playwright/LoadingSpinner.test.ts
MartinBraquet 814b4fe0ae Add tests
2025-08-04 14:25:44 +02:00

9 lines
291 B
TypeScript

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
const spinner = page.locator('[data-testid="spinner"]');
await expect(spinner).toBeVisible();
});