Skip to content

hikaya-io/cypress-tests-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published