diff --git a/prototypes/basic/playwright.config.js b/prototypes/basic/playwright.config.js index bfc0c24..ed91e5a 100644 --- a/prototypes/basic/playwright.config.js +++ b/prototypes/basic/playwright.config.js @@ -2,6 +2,7 @@ import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './tests', + reporter: process.env.CI ? ['github', 'junit'] : 'line', use: { baseURL: 'http://127.0.0.1:3000', }, @@ -12,4 +13,4 @@ export default defineConfig({ stdout: 'pipe', stderr: 'pipe', } -}); \ No newline at end of file +}); diff --git a/prototypes/basic/tests/simple.spec.js b/prototypes/basic/tests/simple.spec.js index 15059d0..e3019a5 100644 --- a/prototypes/basic/tests/simple.spec.js +++ b/prototypes/basic/tests/simple.spec.js @@ -4,5 +4,5 @@ test('has title', async ({ page }) => { await page.goto('/'); // Expect a title "to contain" a substring. - await expect(page).toHaveTitle(/Import spreadsheet data/); + await expect(page).toHaveTitle(/Import spreadsheet dataaaa/); });