1.1.2 • Published 3 years ago
wowpack2 v1.1.2
Working Model
ABOUT this package
This is a package that will assist any new cypress users with Advanced Functionalities
- Cypress Advanced Functionalities
- Cypress cucumber folder structure and configuration
- Cypress visual testing using cypress-image
- Cypress Tags
- Cypress browser configuration
- Cypress config for specific environments
- Cypress reporting with BDD and Mocawesome
- Cypress Dashboard Reporting
- Cypress Cypress Studio
- Cypress integration with Dockers
- Cypress integration with Browserstack
- Cypress integration with Percy
- Cypress integration with Xray Jira
- Cypress integration with GitHub Actions
Installation
npm init
npm i wowpack2
npx cypress open
npx unicorn-copy
npm run [execute script(s) from package.json file]
Instructions to follow
- Perform
npm init
to create package.json file. - Perform
npm i install wowpack2
- Perform
npx cypress open
- Perform
npx unicorn-copy
Additional Instructions to fully utilize the package
- Add plugin extension in vcode
- Docker for Visual Studio Code
- Prettier Formatter for Visual Studio Code
- Install desktop docker from Docker website!
- To work with Browserstack - Cross Browser testing tool, get the auth.
- Enter username and Key
"username": "username",
"access_key": "access_key"
- Run the browserstack local setting
location - cypress/support/browserStackLocal/OSX/BrowserStackLocal --key access_key --local-identifier CypressLocalConnection1
- Run the command
browserstack-cypress run --sync
- To work with Percy - Visual testing
- Create a project in percy (use browserstack account)
- on Mac run the command $ 'export PERCY_TOKEN=Token'
- on windows, run the command $ 'set PERCY_TOKEN=token'
- Create a project in percy (use browserstack account)
PERCY_TOKEN=token
- Get JIRA Xray client details
{
"client_id": "client_id",
"client_secret": "client_secret"
}
- Get the Cypress Project ID from cypress dialog box and update cypress.json file with the id.
"projectId": "unique for every project",
- Create New work flow in GitHub Actions to work with actions. User the sample Github link
Update Instructions to follow
- Perform
npm install
to upgrade the dependencies. - Perform
npx unicorn-copy
License
This project is licensed under the terms of the MIT license.