the-e2e

2.1.12 • Public • Published

the-e2e

Build Status npm Version JS Standard

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.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-e2e

Weekly Downloads

23

Version

2.1.12

License

MIT

Unpacked Size

155 kB

Total Files

50

Last publish

Collaborators

  • okunishinishi