Files
TOJE2E/tests/01-basic.spec.ts
ChenKaiLiuG e139daa410 Initialize
2026-01-29 11:48:45 +08:00

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/);
});
});