File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6767 }
6868 },
6969 "scripts" : {
70- "test" : " NODE_ENV=test playwright test" ,
71- "test:debug" : " DEBUG=pw:browser* NODE_ENV=test playwright test" ,
70+ "test" : " playwright test" ,
71+ "test:debug" : " DEBUG=pw:browser* playwright test" ,
7272 "start" : " electron ." ,
7373 "start:debug" : " ELECTRON_ENABLE_LOGGING=1 electron ." ,
7474 "icon" : " rimraf assets/generated && electron-icon-maker --input=assets/youtube-music.png --output=assets/generated" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ const path = require("path");
33const { _electron : electron } = require ( "playwright" ) ;
44const { test, expect } = require ( "@playwright/test" ) ;
55
6+ process . env . NODE_ENV = "test" ;
7+
68const appPath = path . resolve ( __dirname , ".." ) ;
79
810test ( "YouTube Music App - With default settings, app is launched and visible" , async ( ) => {
You can’t perform that action at this time.
0 commit comments