webdriverio/wdio-jasmine-framework

View on GitHub
test/fixtures/tests.async.promise.spec.js

Summary

Maintainability
A
3 hrs
Test Coverage
global.______wdio = {}

describe('sample test', () => {
    it('foo', () => {
        const start = new Date().getTime()
        return browser.command().then((result) => {
            expect(result).toBe('foo')
            global.______wdio.it = new Date().getTime() - start
        })
    })
})