chore: db file compatibility (#228)

This commit is contained in:
kimatata
2025-05-25 10:13:57 +09:00
committed by GitHub
parent 13e0727914
commit 3475b3863c
5 changed files with 27 additions and 11 deletions

12
e2e/not-demo-mode.spec.ts Normal file
View File

@@ -0,0 +1,12 @@
import { test, expect } from '@playwright/test';
test('If not demo mode, the landing page will not be displayed and will be redirected to the projects page.', async ({
page,
}) => {
const screenshotDir = 'playwright-screenshots/not-demo-redirect';
await page.goto('http://localhost:8000/');
await expect(page).toHaveURL(/\/projects/);
await page.screenshot({ path: `${screenshotDir}/landing-page-redirect.png`, fullPage: true });
});