File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ exports.test = base.test.extend({
3636 const safeName = testInfo . titlePath . join ( ' - ' )
3737 . replace ( / [ ^ a - z A - Z 0 - 9 _ \- . ] / g, '_' )
3838 . replace ( / \s + / g, '_' ) ;
39- const uniqueSuffix = `${ testInfo . project . name } -w${ testInfo . workerIndex } -r${ testInfo . retry } ` ;
40- const logFile = path . join ( CONSOLE_LOG_DIR , `${ safeName } -${ uniqueSuffix } .log` ) ;
39+ const logFile = path . join ( CONSOLE_LOG_DIR , `${ safeName } .log` ) ;
40+ //const uniqueSuffix = `${testInfo.project.name}-w${testInfo.workerIndex}-r${testInfo.retry}`; // not (yet) compatible with artefacts collection step
41+ //const logFile = path.join(CONSOLE_LOG_DIR, `${safeName}-${uniqueSuffix}.log`);
4142 const logContent = consoleLogs . join ( '\n' ) + '\n' ;
4243 fs . writeFileSync ( logFile , logContent ) ;
4344
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ test.describe('WLED Index Page', () => {
5252 await page . waitForTimeout ( 3000 ) ;
5353
5454 // Both `#picker` (color wheel) and `#sliders` are defined in index.htm
55- await expect ( page . locator ( '` #picker` ' ) ) . toBeAttached ( ) ;
56- await expect ( page . locator ( '` #sliders` ' ) ) . toBeAttached ( ) ;
55+ await expect ( page . locator ( '#picker' ) ) . toBeAttached ( ) ;
56+ await expect ( page . locator ( '#sliders' ) ) . toBeAttached ( ) ;
5757 } ) ;
5858
5959 test ( 'JSON API /json/info should return valid data' , async ( { page } ) => {
You can’t perform that action at this time.
0 commit comments