Skip to content

Commit

Permalink
Update reporter with broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Sep 26, 2024
1 parent 9aa1c49 commit 195076c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion prototypes/basic/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand All @@ -12,4 +13,4 @@ export default defineConfig({
stdout: 'pipe',
stderr: 'pipe',
}
});
});
2 changes: 1 addition & 1 deletion prototypes/basic/tests/simple.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
});

0 comments on commit 195076c

Please sign in to comment.