Closed thaiat closed 9 years ago
this method can be used in a test suite to save specific screenshots:
it('something', function() {
var prefixScreenshot = suitename + 'Campagne test';
expect(mainView.charts().count()).toBe(4);
expect(mainView.getChartTitle(mainView.charts().get(0))).toBe('TESTING');
// take screenshot
browser.shot(prefixScreenshot + ' screenshot1');
// continue
});
in
protractor.conf.js