Init project
This commit is contained in:
parent
050fdb4f64
commit
e5d6c890a8
46 changed files with 7856 additions and 0 deletions
11
cms/tests/test.ts
Normal file
11
cms/tests/test.ts
Normal 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();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue