mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
14 lines
369 B
TypeScript
14 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");
|
|
|
|
});
|