oneuptime/Playwright/Tests/Home/SignUp.spec.ts
Simon Larsen 008655b6eb
fix fmt
2023-05-16 13:40:42 +01:00

12 lines
369 B
TypeScript

import { test, expect, Page } from '@playwright/test';
import BASE_URL from '../../Utils/BaseURL';
test.beforeEach(async ({ page }: { page: Page }) => {
await page.goto(BASE_URL);
});
test('sign up button', async ({ page }: { page: Page }) => {
await page.getByTestId('Sign-up').click();
await expect(page).toHaveURL(BASE_URL + '/accounts/register');
});