cypress-example-kitchensink
Advanced tools
Comparing version 1.15.1 to 1.15.2
@@ -46,4 +46,3 @@ /// <reference types="cypress" /> | ||
// or use "cy.wrap" and "should('deep.equal', ...)" assertion | ||
// @ts-ignore | ||
cy.wrap(this.example, 'fixture vs require') | ||
cy.wrap(this.example) | ||
.should('deep.equal', requiredExample) | ||
@@ -50,0 +49,0 @@ }) |
@@ -26,3 +26,2 @@ /// <reference types="cypress" /> | ||
// Clear key matching string in Local Storage | ||
cy.get('.ls-btn').click().should(() => { | ||
@@ -34,2 +33,3 @@ expect(localStorage.getItem('prop1')).to.eq('red') | ||
// Clear key matching string in Local Storage | ||
cy.clearLocalStorage('prop1').should((ls) => { | ||
@@ -41,3 +41,2 @@ expect(ls.getItem('prop1')).to.be.null | ||
// Clear keys matching regex in Local Storage | ||
cy.get('.ls-btn').click().should(() => { | ||
@@ -49,2 +48,3 @@ expect(localStorage.getItem('prop1')).to.eq('red') | ||
// Clear keys matching regex in Local Storage | ||
cy.clearLocalStorage(/prop1|2/).should((ls) => { | ||
@@ -51,0 +51,0 @@ expect(ls.getItem('prop1')).to.be.null |
{ | ||
"name": "cypress-example-kitchensink", | ||
"version": "1.15.1", | ||
"version": "1.15.2", | ||
"description": "This is an example app used to showcase Cypress.io testing. For a full reference of our documentation, go to https://docs.cypress.io", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2329654