wdio-workflo-allure-reporter
Version:
This is a customized version of wdio-workflo-allure-reporter for use with workflo framework.
17 lines (14 loc) • 603 B
JavaScript
import { expect } from 'chai'
import { clean, run } from '../helper'
describe('parallel', () => {
beforeEach(clean)
it('should run several suites in parallel', () => {
return run(['broken', 'failing']).then((results) => {
expect(results).to.have.lengthOf(2)
const startTimes = results.map(result => result('test-case').attr('start'))
const stopTimes = results.map(result => result('test-case').attr('stop'))
expect(stopTimes[0]).to.be.above(startTimes[1])
expect(stopTimes[1]).to.be.above(startTimes[0])
})
})
})