mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-01 06:31:59 +08:00
18 lines
475 B
TypeScript
18 lines
475 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
import ROUTES from 'constants/routes';
|
|
|
|
test('Login Page', async ({ page, baseURL }) => {
|
|
const loginPage = `${baseURL}${ROUTES.LOGIN}`;
|
|
|
|
await page.goto(loginPage, {
|
|
waitUntil: 'networkidle',
|
|
});
|
|
|
|
const signup = 'Monitor your applications. Find what is causing issues.';
|
|
|
|
// Click text=Monitor your applications. Find what is causing issues.
|
|
const el = page.locator(`text=${signup}`);
|
|
|
|
expect(el).toBeVisible();
|
|
});
|