Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wusteven815 committed Nov 11, 2024
1 parent 90a25b8 commit 69eb155
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const config: PlaywrightTestConfig = {
/* Global setup file for initializing before all other tests */
globalSetup: require.resolve('./tests/globalSetup.ts'),
/* Retry on CI only */
retries: process.env.CI ? 1 : 0,
retries: 0,
/* Default to 50% of cores, don't want too many as core or web will become bottleneck */
workers: undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
Expand All @@ -59,7 +59,7 @@ const config: PlaywrightTestConfig = {
* saving entirely which is notably slow in webkit. See:
* https://github.com/microsoft/playwright/issues/18119#issuecomment-1867426196
*/
video: process.env.CI ? 'on-first-retry' : 'retain-on-failure',
video: 'retain-on-failure',
},

/* Configure projects for major browsers */
Expand Down
6 changes: 2 additions & 4 deletions tests/table-multiselect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ async function filterAndScreenshot(
gridLocation.y + 1 + columnHeight + filterHeight + rowHeight * 2,
{ button: 'right' }
);
await expect(async () => {
await page.waitForTimeout(500);
await expectContextMenus(page, 1);
}).toPass();
await page.waitForTimeout(500);
await expectContextMenus(page, 1);
});

await test.step('Apply filter', async () => {
Expand Down

0 comments on commit 69eb155

Please sign in to comment.