Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cypress-dialog-boxes

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-dialog-boxes

Cypress Plugin to handle dialog boxes

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
0
Weekly downloads
 
Created
Source

Cypress-Dialog-Boxes

Installation

npm i -D cypress-dialog-boxes

Configuration

  • Insert import 'cypress-dialog-boxes' in the support/e2e.js file.

Usage

Window Alert

cy.checkAlert(alert-text)

cy.get(#alert-button).click();
cy.checkAlert(alert-text)

Window Confirm Box

cy.checkConfirmBox(confirm-box-text)

cy.checkConfirmBox(confirm-text)
cy.get(#confirm-button).click();

Window Cancel Confirm Box

cy.cancelConfirmBox(confirm-box-text)

cy.cancelConfirmBox(confirm-text)
cy.get(#confirm-button).click();

Compatibility

It should be compatible with all versions of Cypress

Support

Issues

Keywords

FAQs

Package last updated on 30 Jun 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc