AFFiNE/tests/affine-local/e2e/exception-page.spec.ts

10 lines
332 B
TypeScript
Raw Normal View History

import { test } from '@affine-test/kit/playwright';
import { open404Page } from '@affine-test/kit/utils/load-page';
2023-02-05 13:41:18 +03:00
import { expect } from '@playwright/test';
2023-02-17 10:33:32 +03:00
test('visit 404 page', async ({ page }) => {
await open404Page(page);
2023-09-17 06:50:26 +03:00
const notFoundTip = page.getByTestId('not-found');
await expect(notFoundTip).toBeVisible();
});