File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -338,3 +338,6 @@ eFormAPI/eFormAPI.Web/Plugins/Customers/net5.0/*
338338
339339eFormAPI /eFormAPI \. Web /Plugins /Customers /netcoreapp2 \. 2 /
340340eFormAPI /eFormAPI \. Web /Plugins /Customers /netcoreapp3 \. 1 /
341+
342+ # E2E Test screenshots
343+ errorShots /
Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ export const config: Options.Testrunner = {
258258 `chrome-${ timestamp } ` . replace ( / [ / ] / g, '__' )
259259 ) . replace ( / % ../ , '.' ) ;
260260
261- const filePath = path . resolve ( this . screenshotPath , `${ filename } .png` ) ;
261+ const screenshotPath = './errorShots/' ;
262+ const filePath = path . resolve ( screenshotPath , `${ filename } .png` ) ;
262263
263264 console . log ( 'Saving screenshot to:' , filePath ) ;
264265 browser . saveScreenshot ( filePath ) ;
Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ export const config: Options.Testrunner = {
258258 `chrome-${ timestamp } ` . replace ( / [ / ] / g, '__' )
259259 ) . replace ( / % ../ , '.' ) ;
260260
261- const filePath = path . resolve ( this . screenshotPath , `${ filename } .png` ) ;
261+ const screenshotPath = './errorShots/' ;
262+ const filePath = path . resolve ( screenshotPath , `${ filename } .png` ) ;
262263
263264 console . log ( 'Saving screenshot to:' , filePath ) ;
264265 browser . saveScreenshot ( filePath ) ;
You can’t perform that action at this time.
0 commit comments