mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 19:40:30 +08:00
refactor: test directory structure (#1677)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
import { test } from '../libs/playwright';
|
||||
|
||||
test.describe('exception page', () => {
|
||||
test('visit 404 page', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080/404');
|
||||
const notFoundTip = page.locator('[data-testid=notFound]');
|
||||
await expect(notFoundTip).toBeVisible();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user