You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the example:
'use strict'
// build_prod.config.js
module.exports = {
seleniumHost: 'http://localhost:4444/wd/hub',
browsers: ['firefox'/, 'chrome', 'safari', 'opera'/],
envHosts: {
build: 'http://localhost:4000',
prod: 'http://www.ishouldbeageek.me'
},
paths: [
'/404.html',
'/',
'/page2',
'/page3',
'/page4',
'/page5',
'/strict-mode',
['/', function clickLink(browser) {
// need to return a promise
return browser.elementByPartialLinkText('viff').click();
}],
['/', '#main-content'/*, function (browser) { } */],
{ 'this is a testcase description' : ['/', '#main-content', function(browser) {
return browser.maximize();
}]}
],
reportFormat: 'file'
};
Execute a command :viff build_prod.config.js generate contrast images。but ViffReport unable to generate report。VIFF does not generate the JSON file?
I need a grammar for viff。i need【How To Write config.js File】 thankyou。
另外,我英语很差劲。我就在用中文说一遍。我下载了viffreport 想用它生成好看的报告。但是viff生成的结果中没有json文件,我猜测是因为没有这个文件导致打开index。html的时候只能显示为一个框架,而里面的图片没有显示。但是我不知道如何写js来生成对比图片和json,根据首页上的例子,无法实现生成报告的功能。尤其是最后一句【 reportFormat: 'file'】 是不是和这个有关系呀?
谢谢大家帮忙
The text was updated successfully, but these errors were encountered:
I use the example:
'use strict'
// build_prod.config.js
module.exports = {
seleniumHost: 'http://localhost:4444/wd/hub',
browsers: ['firefox'/, 'chrome', 'safari', 'opera'/],
envHosts: {
build: 'http://localhost:4000',
prod: 'http://www.ishouldbeageek.me'
},
paths: [
'/404.html',
'/',
'/page2',
'/page3',
'/page4',
'/page5',
'/strict-mode',
['/', function clickLink(browser) {
// need to return a promise
return browser.elementByPartialLinkText('viff').click();
}],
['/', '#main-content'/*, function (browser) { } */],
{ 'this is a testcase description' : ['/', '#main-content', function(browser) {
return browser.maximize();
}]}
],
reportFormat: 'file'
};
Execute a command :viff build_prod.config.js generate contrast images。but ViffReport unable to generate report。VIFF does not generate the JSON file?
I need a grammar for viff。i need【How To Write config.js File】 thankyou。
另外,我英语很差劲。我就在用中文说一遍。我下载了viffreport 想用它生成好看的报告。但是viff生成的结果中没有json文件,我猜测是因为没有这个文件导致打开index。html的时候只能显示为一个框架,而里面的图片没有显示。但是我不知道如何写js来生成对比图片和json,根据首页上的例子,无法实现生成报告的功能。尤其是最后一句【 reportFormat: 'file'】 是不是和这个有关系呀?
谢谢大家帮忙
The text was updated successfully, but these errors were encountered: