JSPM

generator-cypress-scaffold

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q32033F
  • License UNLICENSED

scaffold cypress project

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-cypress-scaffold) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    generator-cypress-scaffold

    NPM version

    Scaffold cypress project

    Installation

    First, install Yeoman and generator-cypress-scaffold using npm (we assume you have pre-installed node.js).

    npm install -g yo
    npm install -g generator-cypress-scaffold

    Then generate your new project:

    yo cypress-scaffold

    Usage

    This package provides both API and WEB tests functions that can help you in your validations.

    WEB:

    • Mapping elements by using Page Elements
    • Interaction with elements by Page Objects

    API:

    • Methods used in this project: GET, POST, PATCH, PUT and DELETE.
    • Feel free to add your own methods or change existing ones according to what you need

    Configs:

    • You can (and should) change the baseUrl in cypress.config.js file. You can also change by CLI by running the following code:
    npx cypress open --env version= "RequiredEnvironment"

    Remember to change the <"RequiredEnvironment"> by your env. Ex.: 'Stage', 'Preprod', 'QA', etc.

    License

    UNLICENSED © Pablo Alves Garcia