selenium tests for passive-aggressive-1248
JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
lib
tests
.DS_Store
.gitignore
README.md
package.json
start_selenium_server.sh

README.md

passive-aggressive-1248-integration-tests

selenium tests for passive-aggressive-1248

This is the first POC for how to run Selenium with node.

Note that any site - not just a node site - can be tested this way.

SETUP/ENVIRONMENT

This suite runs on Mac OSX. Before running the tests, two things must be true.

  1. You must run npm install in the root directoy to install your node_modules.
  2. The chrome driver must be on a path in your $PATH environment variable.
  3. The selenium server must be running.
  4. You must have the Chrome browser.

(note you do NOT have to kill/restart the selenium server between tests.)

Note that both the selenium server and chrome driver are frequently updated -- do not rely on these files being current.

RUNNING THE TESTS

each test is a self contained node script; the currently runnable tests include

  • /tests/navigation_tests.js
node tests/navigation_tests.js

will execute the suite.