@rscollabs/rs-cypress-api-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.3.68 • Public • Published

LTK Cypress API Plugin

LTK Cypress API Plugin is a Node package for dealing with API calls used by Cypress framework within LTK

Installation

Use the node package manager npm to install LTK Cypress API Plugin.

npm i @rscollabs/rs-cypress-api-plugin --save-dev

Usage

Import the plugin in your Cypress commands file (/support/commands.ts)

import '@rscollabs/rs-cypress-api-plugin/commands'

If you using typescript set the types in tsconfig.json

"types": [ "@rscollabs/rs-cypress-api-plugin" ],

Code review

Before submitting plugin changes to code review test your changes locally:

  1. Make your change, and zip the package
npm pack
  1. Uninstall cypress plugin
npm uninstall @rscollabs/rs-cypress-api-plugin
  1. Add plugin path in package.json consuming repo, shoud be something like
@rscollabs/rs-cypress-api-plugin: "/path/to/rscollabs-rs-cypress-api-plugin-0.3.58.
tgz'"
  1. Install npm i

Once everything is tested submit PR for review, merge and publish after approval, update the plugin version in the package.json

npm publish

Once plugin published update consuming repos with new version of a plugin

  1. rs-brand-ui
  2. collabs-influencer-ui
  3. collabs-messaging-ui
  4. rs-brand-partnership-ui

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

LTK

Readme

Keywords

none

Package Sidebar

Install

npm i @rscollabs/rs-cypress-api-plugin

Weekly Downloads

33

Version

0.3.68

License

ISC

Unpacked Size

9.41 MB

Total Files

67

Last publish

Collaborators

  • rscollabs