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

cypress-example-kitchensink

Package Overview
Dependencies
Maintainers
2
Versions
83
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 0.2.3 to 0.3.0

18

cypress/integration/example_spec.js

@@ -782,2 +782,20 @@ //

it('cy.exec() - execute a system command', function(){
// cy.exec allows you to execute a system command.
// so you can take actions necessary for your test,
// but outside the scope of Cypress.
//
// https://on.cypress.io/api/exec
cy
.exec('echo Jane Lane')
.its('stdout').should('contain', 'Jane Lane')
.exec('cat cypress.json')
.its('stderr').should('be.empty')
.exec('pwd')
.its('code').should('eq', 0)
})
it('cy.focused() - get the DOM element that has focus', function(){

@@ -784,0 +802,0 @@

2

package.json
{
"name": "cypress-example-kitchensink",
"version": "0.2.3",
"version": "0.3.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",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -74,2 +74,5 @@ # Kitchen Sink [![Circle CI](https://circleci.com/gh/cypress-io/cypress-example-kitchensink.svg?style=svg)](https://circleci.com/gh/cypress-io/cypress-example-kitchensink) [![Travis CI](https://travis-ci.org/cypress-io/cypress-example-kitchensink.svg?branch=master)](https://travis-ci.org/cypress-io/cypress-example-kitchensink) [![Codeship Status for cypress-io/cypress-example-kitchensink](https://codeship.com/projects/8d6a20c0-b70e-0133-41c6-56e5cd60fbd0/status?branch=master)](https://codeship.com/projects/134609)

#### 0.3.0
- added cy.exec() command examples
#### 0.2.3

@@ -76,0 +79,0 @@ - fix for clearing 3rd party cookies after visit

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