Skip to content

Commit

Permalink
never open html report
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Apr 25, 2024
1 parent 9c86748 commit b20e555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [
['line'],
['html', { open: process.env.CI ? 'never' : 'on-failure' }],
['html', { open: 'never' }],
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
Expand Down
1 change: 1 addition & 0 deletions e2e/playwright/tests/smoke-test/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ test('smoke test', async ({ page }) => {
await expect(page.locator('.ConfigureUpdatesModal')).toContainText('At 12:00 AM, only on Sunday');
await page.getByRole('button', { name: 'Update', exact: true }).click();
await expect(page.getByText('Automatically check for updates', { exact: true })).not.toBeVisible();
await page.waitForTimeout(2000);
await page.locator('span[data-tip="View deploy logs"]').first().click();
await validateDeployLogs(page, expect);
await page.reload();
Expand Down

0 comments on commit b20e555

Please sign in to comment.