Skip to content

Commit db740c7

Browse files
committed
change timeouts
Signed-off-by: Alejandro Brugarolas <[email protected]>
1 parent eca252f commit db740c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

e2e/pages/vscode.pages.ts

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import * as path from 'path';
1616
import { LeftBarItems } from '../enums/left-bar-items.enum';
1717
import { expect } from '@playwright/test';
1818
import { Application } from './application.pages';
19+
import { SCREENSHOTS_FOLDER } from '../utilities/consts';
1920

2021
export class VSCode extends Application {
2122
public static async open(workspaceDir: string) {
@@ -158,6 +159,9 @@ export class VSCode extends Application {
158159
await this.waitDefault();
159160
await this.executeQuickCommand('sources and targets');
160161
await this.waitDefault();
162+
await window.screenshot({
163+
path: `${SCREENSHOTS_FOLDER}/debug-target.png`,
164+
});
161165
const targetInput = window.getByPlaceholder('Choose one or more target');
162166
await this.waitDefault();
163167
await expect(targetInput).toBeVisible({ timeout: 30000 });

0 commit comments

Comments
 (0)