1.0.4 • Published 8 months ago

generator-cypress-scaffold v1.0.4

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
8 months ago

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

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago