Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,6 @@ eFormAPI/eFormAPI.Web/Plugins/Customers/net5.0/*

eFormAPI/eFormAPI\.Web/Plugins/Customers/netcoreapp2\.2/
eFormAPI/eFormAPI\.Web/Plugins/Customers/netcoreapp3\.1/

# E2E Test screenshots
errorShots/
3 changes: 2 additions & 1 deletion eform-client/wdio-headless-plugin-step2.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ export const config: Options.Testrunner = {
`chrome-${timestamp}`.replace(/[/]/g, '__')
).replace(/%../, '.');

const filePath = path.resolve(this.screenshotPath, `${filename}.png`);
const screenshotPath = './errorShots/';
const filePath = path.resolve(screenshotPath, `${filename}.png`);

console.log('Saving screenshot to:', filePath);
browser.saveScreenshot(filePath);
Expand Down
3 changes: 2 additions & 1 deletion eform-client/wdio-plugin-step2.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ export const config: Options.Testrunner = {
`chrome-${timestamp}`.replace(/[/]/g, '__')
).replace(/%../, '.');

const filePath = path.resolve(this.screenshotPath, `${filename}.png`);
const screenshotPath = './errorShots/';
const filePath = path.resolve(screenshotPath, `${filename}.png`);

console.log('Saving screenshot to:', filePath);
browser.saveScreenshot(filePath);
Expand Down
Loading