Skip to content
V4-cucumber-exmaple
JavaScript Gherkin
Branch: master
Clone or download
Pull request Compare This branch is 19 commits ahead of wswebcreation:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
@demo add a sample passing scenario Jul 19, 2019
tests add a simple working home page scenario Jul 19, 2019
.gitignore working version of hilton demo Aug 15, 2019
README.md add a simple working home page scenario Jul 19, 2019
babel.config.js initial commit Jun 17, 2019
package-lock.json
package.json working version of hilton demo Aug 15, 2019
screener.config.js add ability to run on individual session Aug 16, 2019
screener.sauce.config.js more devices Aug 16, 2019

README.md

This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub. For questions regarding Sauce Labs integration, please see the Sauce Labs documentation at https://wiki.saucelabs.com/. This framework is not maintained by Sauce Labs Support.

Environment Setup

  1. Global Dependencies
    $ brew install node
    
  2. Sauce Credentials
    • In the terminal export your Sauce Labs Credentials as environmental variables:
    $ export SAUCE_USERNAME=<your Sauce Labs username>
    $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
    
  3. Project Dependencies
    • Install Node modules
    $ npm install
    

Running Tests

  • Run Tests:

     $ npm run test
    
  • Tests in Parallel:

     $ ./node_modules/.bin/wdio wdio.conf.js
    

Sauce Labs Dashboard

Great BDD Resources

Thanks

Big thanks to Wim Selles who was the starter of this working solution. He provided the foundational working code that made all of this possible. He is my master and I am his grasshopper! @wswebcreation

You can’t perform that action at this time.