来自protractorConfig.js:
jasmine.getEnv().addReporter(new HtmlReporter({
baseDirectory: './reports/'+outputFolder+'/screenshots',
takeScreenShotsOnlyForFailedSpecs: true
}));
有一个选项 docTitle,但不确定如何在此处获取测试用例名称作为标题....
来自protractorConfig.js:
jasmine.getEnv().addReporter(new HtmlReporter({
baseDirectory: './reports/'+outputFolder+'/screenshots',
takeScreenShotsOnlyForFailedSpecs: true
}));
有一个选项 docTitle,但不确定如何在此处获取测试用例名称作为标题....