Skip to content

Commit d7a40a8

Browse files
sergiolmseamodio
authored andcommitted
extend timeout and remove unnecessary await
1 parent 56ead12 commit d7a40a8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/e2e/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export default defineConfig({
77
viewport: { width: 1920, height: 1080 },
88
},
99
reporter: 'list', // process.env.CI ? 'html' : 'list',
10-
timeout: 30000,
10+
timeout: 60000, // 1 minute
1111
workers: 1,
1212
expect: {
13-
timeout: 30000,
13+
timeout: 60000, // 1 minute
1414
},
1515
globalSetup: './setup',
1616
projects: [

tests/e2e/specs/command_palette.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ test.describe('Test GitLens Command Palette commands', () => {
1616
await commandPaletteInput.waitFor({ state: 'visible', timeout: 5000 });
1717
await commandPaletteInput.fill('> GitLens: Show Commit graph');
1818
await page.waitForTimeout(1000);
19-
20-
await page.keyboard.press('Enter');
19+
page.keyboard.press('Enter');
2120

2221
// Click on the first element (GitLens: Show Commit graph)
2322
/*

0 commit comments

Comments
 (0)