wdio-workflo-allure-reporter
Version:
This is a customized version of wdio-workflo-allure-reporter for use with workflo framework.
16 lines (14 loc) • 374 B
JavaScript
const expect = require('chai').expect
describe('Screenshot during passing test', () => {
it('with passing test', () => {
return browser.url('/index.html')
.waitForExist('#clickable')
.click('#clickable')
.screenshot()
.getValue('#result')
.then((value) => {
expect(value).to.be.equal('1')
})
})
})