1.1.0 • Published 1 year ago

@rancher-ecp-qa/cypress-library v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Rancher ECP QA Cypress Library

Unit tests Code style

This npm package includes functions and custom Cypress commands shared between different Rancher products.

Installation

Installation can be done with CLI:

npm install @rancher-ecp-qa/cypress-library

Or you can add the package to your package.json file:

  "dependencies": {
    "@rancher-ecp-qa/cypress-library": "1.0.0"
  }

Configuration

For Cypress configuration, I add this line to the e2e.ts file:

require('@rancher-ecp-qa/cypress-library');

The tsconfig.json file must be also updated with the new package:

    "types": [
      "@types/node",
      "@nuxt/types",
      "cypress",
      "cy-verify-downloads",
      "@rancher-ecp-qa/cypress-library",
      "cypress-file-upload"
    ]

Finally, import the package in your Cypress spec file where you want to use it:

import * as cypressLib from '@rancher-ecp-qa/cypress-library';`
1.1.0

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago