Socket
Socket
Sign inDemoInstall

@deploysentinel/cypress-recorder

Package Overview
Dependencies
0
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @deploysentinel/cypress-recorder

Translate clicks, inputs, and other interactions into Cypress script inside your Cypress test browser (replacement for Cypress Studio)


Version published
Maintainers
2
Install size
3.93 MB
Created

Readme

Source

DeploySentinel Cypress Recorder Plugin

Create Cypress tests scripts within the Cypress test browser by simply interacting with your application, similar to the previous Cypress Studio functionality previously available in Cypress v9. This plugin will allow you to translate clicks, inputs, and other events into a Cypress script.

demo recording test script in Cypress

Built on top of the DeploySentinel Recorder Browser Extension.

Plugin only works for Cypress v10, not with v9 and below, currently compatible with Chrome and Firefox

Get Started

Install the plugin

npm install -D @deploysentinel/cypress-recorder

OR

yarn add --dev @deploysentinel/cypress-recorder

Add Plugin to Cypress Config

Add the plugin to your cypress.config.js file:

const { defineConfig } = require("cypress");

module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      // Add plugin import here 👇
      require("@deploysentinel/cypress-recorder")(on, config);
    },
  },
});

Use the Recorder

Run Cypress in open mode, select a spec to run, and then click "Record" button on the top left of the test application panel to start recording.

Read more on how to add text assertions, hover events and screenshots in the DeploySentinel Recorder extension docs.


Made with ❤️ by DeploySentinel

Use DeploySentinel to save hours of failed Cypress test debugging by using DOM, network, and console events captured from your CI. Learn more.

Keywords

FAQs

Last updated on 26 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc