the-e2e
v2.1.12
Published
E2E testing for the-frameworks
Downloads
3
Readme
the-e2e
E2E testing for the-frameworks
Installation
$ npm install the-e2e --save
Usage
'use strict'
const {TheE2E} = require('the-e2e')
const assert = require('assert')
async function tryExample () {
const e2e = new TheE2E({
'google:title': async (browser) => {
await browser.url('http://www.google.com')
const title = await browser.getTitle()
assert.ok(title)
assert.ok(title.toLowerCase().match('google'))
},
})
await e2e.run('google:title')
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.