File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import * as path from 'path';
16
16
import { LeftBarItems } from '../enums/left-bar-items.enum' ;
17
17
import { expect } from '@playwright/test' ;
18
18
import { Application } from './application.pages' ;
19
+ import { SCREENSHOTS_FOLDER } from '../utilities/consts' ;
19
20
20
21
export class VSCode extends Application {
21
22
public static async open ( workspaceDir : string ) {
@@ -158,6 +159,9 @@ export class VSCode extends Application {
158
159
await this . waitDefault ( ) ;
159
160
await this . executeQuickCommand ( 'sources and targets' ) ;
160
161
await this . waitDefault ( ) ;
162
+ await window . screenshot ( {
163
+ path : `${ SCREENSHOTS_FOLDER } /debug-target.png` ,
164
+ } ) ;
161
165
const targetInput = window . getByPlaceholder ( 'Choose one or more target' ) ;
162
166
await this . waitDefault ( ) ;
163
167
await expect ( targetInput ) . toBeVisible ( { timeout : 30000 } ) ;
You can’t perform that action at this time.
0 commit comments