Socket
Socket
Sign inDemoInstall

cypress-example-kitchensink

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-example-kitchensink - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

11

cypress/integration/examples/querying.spec.js

@@ -21,2 +21,4 @@ /// <reference types="Cypress" />

// Use CSS selectors just like jQuery
cy.get('[data-test-id="test-example"]').should('have.class', 'example')
})

@@ -27,10 +29,13 @@

cy.get('.query-list')
.contains('bananas').should('have.class', 'third')
.contains('bananas')
.should('have.class', 'third')
// we can pass a regexp to `.contains()`
cy.get('.query-list')
.contains(/^b\w+/).should('have.class', 'third')
.contains(/^b\w+/)
.should('have.class', 'third')
cy.get('.query-list')
.contains('apples').should('have.class', 'first')
.contains('apples')
.should('have.class', 'first')

@@ -37,0 +42,0 @@ // passing a selector to contains will

{
"name": "cypress-example-kitchensink",
"version": "1.0.5",
"version": "1.1.0",
"description": "This is an example app used to showcase Cypress.io testing. For a full reference of our documentation, go to docs.cypress.io",

@@ -60,3 +60,3 @@ "main": "index.js",

"cypress": "3.1.1",
"eslint": "5.11.1",
"eslint": "5.12.0",
"eslint-plugin-cypress": "2.2.0",

@@ -63,0 +63,0 @@ "eslint-plugin-cypress-dev": "1.1.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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