Module: custom_commands

This folder contains Nightwatch custom commands.

Custom commands are particularly useful (essential actually) when performing async operations that need the nightwatch test flow to suspend until the async operation is complete.

See:
  • module:custom_commands.waitForJobCreated
  • module:custom_commands.waitForJobDeleted
  • module:custom_commands.waitForJobRunEnded
  • module:custom_commands.waitForJobRunStarted
  • module:custom_commands.waitForJobRunPaused
  • module:custom_commands.waitForJobRunUnpaused
  • module:custom_commands.waitForLocationChange