Init project

This commit is contained in:
schooltechx 2023-03-14 13:47:44 +07:00
parent 050fdb4f64
commit e5d6c890a8
46 changed files with 7856 additions and 0 deletions

11
cms/tests/test.ts Normal file
View file

@ -0,0 +1,11 @@
import { expect, test } from '@playwright/test';
test('Index page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.getByRole('heading', { name: 'กองสรรหาบุคคล (Recruitment Division)' })).toBeVisible();
});
test('About page has expected h1', async ({ page }) => {
await page.goto('/about');
await expect(page.getByRole('heading', { name: 'กองสรรหาบุคคล' })).toBeVisible();
});