14 lines
370 B
TypeScript
14 lines
370 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test.describe('Basic Website Tests', () => {
|
|
test('should load homepage', async ({ page }) => {
|
|
await page.goto('/');
|
|
await expect(page).toHaveTitle(/NTOJ|TOJ/i);
|
|
});
|
|
|
|
test('should access sign page', async ({ page }) => {
|
|
await page.goto('/sign');
|
|
await expect(page).toHaveURL(/\/sign/);
|
|
});
|
|
});
|