UNPKG

@christian-bromann/webdriverio

Version:

A nodejs bindings implementation for selenium 2.0/webdriver

12 lines (9 loc) 433 B
import path from 'path' import Launcher from '../../../build/lib/launcher' const FIXTURE_ROOT = path.join(__dirname, '..', '..', 'fixtures') describe('custom commands', () => { it('should be chainable in async mode', async function () { let launcher = new Launcher(path.join(FIXTURE_ROOT, 'custom.commands.wdio.conf'), {}) expect(await launcher.run()).to.be.equal(0, 'wdio command failed unexpected') }) })