cypress-example-kitchensink
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2254010
2880
0