Skip to content

guiguan/ui-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Webdriver.io VS Nightwatch

Goal of this project is to find the best approach of carrying out UI test for SBS

Installation & Run

Just cd to each directory, and do:

  1. npm install
  2. ./run_test.bash

Findings

Both are:

  • selenium based can talk directly to ChromeDriver
  • have good documentations
  • support Slack and CI integration
  • support for Page Objects

Individually:

  1. Nightwatch
  • pros
    • more github starts
    • nice built-in test runner
    • more stable and faster
    • chainable syntax
    • good support for latest node
  • cons
  • cannot use it with own test frameworks
  • nor can use it as standalone robot
  1. Webdriver.io
  • pros
    • more flexible
    • easier to setup for beginners
    • can be used as a standalone robot
  • cons
    • buggy (in this demo, if we enable that screenshot, the test case is not included in the final report)
    • a bit slow

References

Automated Test

Commercial Cloud-based Solutions

About

Webdriver.io VS Nightwatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published