Skip to content

Gans79/TestCafeUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI Automation

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Prerequisites

  • Node (see .npmrc for version no)
  • [Testcafe] npm install -g testcafe

Installing

Open a command line of your choice and do the following:

  1. Clone the repository and cd into the project:

    git clone [email protected]:gans79/
  2. Install the dependencies:

    npm install

TestCafe

How to Run TestCafe

  1. Update your BASE_URL in .env file with your desired URL, e.g.:

    BASE_URL=https://www.qantas.com/au/en.html
  2. Run tests: All Tests

    Execute all tests in chrome: testcafe chrome tests/fixtures/**/*.test.js
    Execute all tests in safari: testcafe safari tests/fixtures/**/*.test.js
  3. Run specific tests using TestID

"BASE_URL='https://www.qantas.com/au/en.html' node_modules/.bin/testcafe chrome tests/fixtures --test-meta testID=T101 "

About

UI automation framework using TestCafe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published