Files
prowler/ui/tests/e2e/root.spec.ts
T

7 lines
291 B
TypeScript

import { test, expect } from '@playwright/test';
test('Unauthenticated users are redirected to sign-in and can navigate to sign-up', async ({ page }) => {
await page.goto('/');
await expect(page).toHaveURL(/\/sign-in/);
await expect(page.getByText('Sign In')).toBeVisible();
});