mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 21:51:39 +03:00
10 lines
332 B
TypeScript
10 lines
332 B
TypeScript
import { test } from '@affine-test/kit/playwright';
|
|
import { open404Page } from '@affine-test/kit/utils/load-page';
|
|
import { expect } from '@playwright/test';
|
|
|
|
test('visit 404 page', async ({ page }) => {
|
|
await open404Page(page);
|
|
const notFoundTip = page.getByTestId('not-found');
|
|
await expect(notFoundTip).toBeVisible();
|
|
});
|