1.1.2 • Published 3 years ago

wowpack2 v1.1.2

Weekly downloads
-
License
MTC
Repository
github
Last release
3 years ago

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

  1. Perform npm init to create package.json file.
  2. Perform npm i install wowpack2
  3. Perform npx cypress open
  4. Perform npx unicorn-copy

Additional Instructions to fully utilize the package

  1. Add plugin extension in vcode
  • Docker for Visual Studio Code
  • Prettier Formatter for Visual Studio Code
  1. Install desktop docker from Docker website!
  2. 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 
  1. 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'
	PERCY_TOKEN=token
  1. Get JIRA Xray client details
{
	"client_id": "client_id",
	"client_secret": "client_secret"
}
  1. Get the Cypress Project ID from cypress dialog box and update cypress.json file with the id.
	"projectId": "unique for every project",
  1. Create New work flow in GitHub Actions to work with actions. User the sample Github link

Update Instructions to follow

  1. Perform npm install to upgrade the dependencies.
  2. Perform npx unicorn-copy

License

license

This project is licensed under the terms of the MIT license.