Removed browser name from the screenshot names

This commit is contained in:
Oleksandr Zhurbenko 2017-11-10 11:55:57 -08:00
parent 0a8c0c959c
commit 152152b65b

View File

@ -9,7 +9,7 @@ function getScreenshotName(basePath) {
var browserViewport = context.meta.viewport; var browserViewport = context.meta.viewport;
var browserWidth = browserViewport.width; var browserWidth = browserViewport.width;
var browserHeight = browserViewport.height; var browserHeight = browserViewport.height;
return path.join(basePath, `${testName}_${type}_${browserName}_v${browserVersion}_${browserWidth}_${browserHeight}.png`); return path.join(basePath, `${testName}_${type}_${browserWidth}_${browserHeight}.png`);
}; };
} }
@ -21,7 +21,7 @@ exports.config = {
capabilities: [{ capabilities: [{
maxInstances: 5, maxInstances: 5,
browserName: 'firefox' browserName: 'chrome'
}], }],
sync: true, sync: true,