Skip to content

tgetmanova/NightwatchTestsDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightwatch based tests demo

Simple tests against github resource using Nightwatch framework

How to run in Intellij Idea:

  1. Edit configuration -> New configuration "Node.js"
  2. Node Interpreter = <path_to_node.exe>
  3. Working directory = <path_where_nightwatch_config_is_placed> (e.g. nightwatch.conf.js)
  4. JavaScript file = <path_to_nightwatch_runner> (smth like ..nodejs\node_modules\nightwatch\bin\runner.js)
  5. Application parameters = nightwatch params like these: --config nightwatch.conf.js --test tests\email_tests.js

Project scripts depend on some node modules. In order to get scripts workable, add these dependencies:

  1. Install packages to npm modules default directory:
  • npm install -g assert
  • npm install -g xmlhttprequest
  1. Create "modules" folder under the project root (where "pages", "tests" are located)
  2. Move packages just downloaded to this folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published