Skip to content

jantonypdx/testcafe-multisite-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testcafe Multisite Example

A TestCafe project showing how to write tests flexibly that can be run against multiple sites.

Please see the related blog article for this project at:
TestCafe – writing flexible tests that can be run against multiple sites

TestCafe example tests:

See the defined scripts in package.json. To easily run any of these scripts:

  1. npm install this repo

  2. Run npx ntl. This will present a (Node Task List)[https://www.npmjs.com/package/ntl] menu of any script to run. Arrow up & down to select any script, then press "Enter".

Example Node Task List menu:

⬢  Node Task List
? Select a task to run:
❯ basic-single-site
  refactored-single-site
  multi-site-1
  multi-site-2
  multi-site-3
  multi-site-4
  multi-site-french-only
(Move up and down to reveal more choices)

About

Example of how to write TestCafe tests that can be run against multiple sites. See:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published