teableio/teable

View on GitHub
apps/nextjs-app/e2e/pages/index/index.spec.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { test, expect } from '@playwright/test';
import page404JsonEn from '@teable/common-i18n/locales/en/system.json';

test.describe('404 page', () => {
  test('should have the title in english by default', async ({ page }) => {
    await page.goto('/404');
    const title = await page.title();
    expect(title).toBe(page404JsonEn.notFound.title);
  });
});