0.0.7 • Published 6 years ago

recink-e2e v0.0.7

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
6 years ago

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