wdio-workflo-allure-reporter
Version:
This is a customized version of wdio-workflo-allure-reporter for use with workflo framework.
29 lines (26 loc) • 689 B
JavaScript
const expect = require('chai').expect
describe('First passing Suite', () => {
it('with passing test in the first Suite', () => {
return browser
.url('/index.html')
.waitForExist('#clickable')
.click('#clickable')
.getValue('#result')
.then((value) => {
expect(value).to.be.equal('1')
})
})
})
describe('Second passing Suite', () => {
it('with passing test in the second Suite', () => {
return browser
.url('/index.html')
.waitForExist('#clickable')
.click('#clickable')
.getValue('#result')
.then((value) => {
expect(value).to.be.equal('1')
})
})
})