recink-e2e

0.0.7 • Public • Published

REciNK Component for E2E

This is a REciNK component for End2End testing, build on top of TestCafe.

Prerequisites

  • Git >= v1.x
  • Node.js >= v6.x
  • NPM >= v3.x
  • REciNK

Installation

  • npm install -g recink-e2e

Note that the component is installed automatically when running recink component add e2e

Configuration

.recink.yml configuration:

$:
  e2e:
    pattern:                          # Files to include 
      - /.+\.e2e\.js$/i
    ignore: ~                         # Files to exclude 
    reporter: ~                       # TestCafe framework reporter 
    wait:
     interval: 200                    # Interval of running uri checks 
     timeout: 15000                   # Timeout to wait for uri's available 
     uri:                             # URI's to wait before start running test cases 
       - http://google.com/
    screenshot:
      enabled: true                   # Enable screenshots 
      take-on-fail: true              # Screenshot page on fail 
      path: './screenshots'           # Path to store screenshots 
    browsers:
      - chrome                        # Browser to run test 

Usage

recink run e2e

Package Sidebar

Install

npm i recink-e2e

Weekly Downloads

0

Version

0.0.7

License

MPL-2.0

Unpacked Size

22.3 kB

Total Files

11

Last publish

Collaborators

  • mitocgroup