Skip to content

josephswanson-wf/automation-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A playground for http://theintern.io/ and https://github.com/Workiva/autoPaw

Getting Started with Intern

Account Setup:

  • Set up a free Sauce Labs account.
  • Add your Sauce Labs username as system variable SAUCE_USERNAME
  • Add your Sauce Labs account access key as system variable SAUCE_ACCESS_KEY. This can be found on your Sauce Labs account page at the bottom of the leftmost container.

Project Setup

  • npm install
  • If grunt's command line interface is not installed globally, run npm install -g grunt-cli

Running Tests

There are currently 4 easy to use grunt tasks:

grunt unit: Runs the unit test of the hello.js example in Firefox locally.

grunt unit-sauce: Pushes the unit test of the hello.js example to Sauce Labs to be run in Chrome on Windows 7.

grunt functional: Runs the functional test of the simple-example.html in Firefox locally.

grunt functional-sauce: Pushes the functional test of the simple-example.html to Sauce Labs to be run in Chrome on OSX 10.9 and Windows 7, IE 8 and 9 on Windows 7, and on the Safari browser on an iPad 7.1 simulator.


Notes

Local functional tests will only work in Firefox by default. If you wish to run tests against another browser, you will need to download the appropriate webdriver and add it to your system PATH.

Intern docs: https://github.com/theintern/intern/wiki

Intern selenium API: http://theintern.github.io/leadfoot/Command.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published