UNPKG

wdio-workflo-allure-reporter

Version:

This is a customized version of wdio-workflo-allure-reporter for use with workflo framework.

23 lines (19 loc) 530 B
'use strict' const expect = require('chai').expect describe('Screenshot during "before all" hook', () => { beforeEach(() => { return browser.url('/index.html').screenshot() }) it('with passing test', () => { return browser .waitForExist('#clickable') .click('#clickable') .getValue('#result') .then((value) => { expect(value).to.be.equal('1') }) }) it('second test', () => { // nothing to do here }) })