Then('custom command wrapping wdio command treated as promise resolves', () => {
    global.____wdio.customHandleWdioAsPromise.start = new Date().getTime()
    browser.customHandleWdioAsPromise(1).should.be.equal(3)
    global.____wdio.customHandleWdioAsPromise.end = new Date().getTime()
})