Case Study, nuff said.
-
Finding to check a order or delivery status
-
Product code is found on product page
-
Succsesfully going back to the main page from product page
The reports can be found the in ./reports/e2e
(reports will pop up in your browser after you excution)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
node.js
Nightwatch.js
selenium-server
Nightwatch html reporter
A step by step series of examples that tell you have to get a development env running
Installing node.js and npm is important for this env
For windows we will need an installer
Click here for that.
For Mac we first install homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then in the terminal
brew install node
This is important for the selenium-server
You can check by typing
java -version
into your terminal and you should see your version number if you have Java installed.
How do I install Java? http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html pick your Operating System and follow the instructions
If you haven't updated brew
in a while, do that first:
brew update
That will install cask
which is now part of Homebrew.
Now you can install Java:
brew cask install java
You should see something like this:
See: http://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac
First install the nightwatch
node.js module from NPM:
npm install nightwatch --save-dev
npm install selenium-server --save-dev
npm install nightwatch-html reporter --save -g
Download and copy the lastest file Chrome driver and Firefox driver into the the bin folder.
For the GUI tests simply type
npm run e2e
- Nightwatch.js - The browser automated testing framework used
- Marcus Johnson - foreodessa
This project is licensed under the MIT License - see the LICENSE.md file for details
- Nightwatch tutorials
- Inspiration
- etc