Kirill Cherkashin 8f224c0cd0 test: add end to end tests
* Move unit tests to a nested folder.

This is needed to have them on the same level with e2e tests wich are yet to come.

* Install Nightwatch.js

* Add Nightwatch config

* Add a basic spec for editing JavaScript

* Add e2e npm script

* Install selenium-standalone, get the latest version post-install

* Run selenium automatically when running e2e tests

* Rewrite the test to avoid focus issues, on the standalone version of selenium

* Update the docs with instructions on how to run e2e tests

* Change JSBin -> JS Bin

* Move e2e specs into a nested folder

* Assert the URL is updated in the integration tests

I'm copying and pasting custom assertion from
https://github.com/maxgalbu/nightwatch-custom-commands-assertions

Alternative would be using npm install, but it's doesn't seem feasible here because we only need this one assertion.

Also custom assertions path would have point to the node_modules folder, which would make it hard to add custom assertions.

* Mention that JS Bin has to be running for integration tests to succeed in the docs

* Run e2e tests with travis-ci

* Do not run e2e for pull requests
2016-08-23 12:46:08 +01:00
..
2016-08-23 12:46:08 +01:00
2016-08-23 12:46:08 +01:00