Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activity Cypress E2E Test

This repo contains Activity automated test cases written in Cypress.

Setup

To setup the test env clone the repo and then install Cypress plus other node module using the below command.

$ npm install

Running tests

The tests can be executed using the Test Runner To starte the Test Runner runn the following command

$ npx cypress open

This command open Cypress and you can run a specific test or all the test. To run the test headlessly run the follpwing command.

$ npx cypress run

NB: After the test complete a video recording of the test is generated in the videos directory

Note The envirom variables file cypress.env.json has not been commited. You can create the following variable store in this file

{
    "un_qa_org": "",          # username for a user with django admin access
    "pw_qa_org": "",          # password for a user with django admin access
    "api_key_mailslurp": "",  # [Mailslurp](https://www.mailslurp.com/) api key
    "mailslurp_inbox": ""     # Mailslurp inbox id
}

About

Automated test cases for Activity using Cypress

Resources

Stars

0 stars

Watchers

11 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages