🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

codeceptjs-cucumber

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs-cucumber

CodeceptJs Cucumber

1.0.3
Source
npm
Version published
Weekly downloads
5.2K
-13.95%
Maintainers
1
Weekly downloads
 
Created
Source

codeceptjs-cucumber

CodeceptJS E2E framework with Cucumber and Saucelabs

About

This is the E2E framework with CodeceptJS and Cucumber. Integrates with Saucelabs, uses Should.js assertion library. Runs cross-browsers tests in Parallel on saucelabs.

Co-locate CodeceptJS-Cucumber E2E Framework to your existing project

Follow this Easy 3-Steps process to co-locate and quik start with CodeceptJS-Cucumber tests.

Usage

Prefer installing yarn

    git clone git@github.com:gkushang/codeceptjs-e2e.git

    npx lerna bootstrap

    cd codeceptjs-e2e/packages/codeceptjs-cucumber

    yarn

Run Acceptance Tests

Run all tests serially

Default browser is chrome

    yarn acceptance

To run on firefox

    yarn acceptance --profile firefox

To run on chrome:headless browser

    yarn acceptance --profile chrome:headless

Run all tests parallel

    yarn acceptance:parallel

Launch HTML Report

    yarn acceptance:report

Saucelabs: Single or Cross-Browsers Testing in Parallel

This framework integrates the Saucelabs to run the tests on cloud. It runs tests on Single or Cros-browsers all in Parallel.

Important: Make sure to export your Sauce Username and Sauce Access Key as env variables

    export SAUCE_USERNAME=<sauce_username>
    export SAUCE_KEY=<sauce_key>
  • Easy to run tests on Saucelabs with command
  yarn acceptance --profile sauce:chrome
  • Easy to run tests on Multibrowsers/Cross-Browsers. All tests in Parallel with command
  yarn acceptance:multibrowsers --profile sauce:chrome,ie,safari

For more information, please follow the instructions on CodeceptJS-Saucelabs module.

Debug

To print debug messages, pass the DEBUG param

    DEBUG=acceptance* yarn acceptance --grep @search_results

Keywords

Cucumber

FAQs

Package last updated on 11 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts