New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cypress-storybook

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-storybook - npm Package Compare versions

Comparing version 0.5.1 to 1.0.0

client.js

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### 1.0.0
- Storybook 7 support
- Upgrade Angular to v16
Fixes #64
Fixes #46
### 0.5.0

@@ -2,0 +10,0 @@

2

common.js

@@ -1,2 +0,2 @@

import addons from '@storybook/addons'
import { addons } from '@storybook/preview-api'
import Events from '@storybook/core-events'

@@ -3,0 +3,0 @@

{
"name": "cypress-storybook",
"version": "0.5.1",
"version": "1.0.0",
"description": "Cypress commands for Storybook projects",

@@ -18,32 +18,38 @@ "main": "cypress.js",

],
"repository": {
"type": "git",
"url": "https://github.com/NicholasBoll/cypress-storybook.git"
},
"author": "nicholas.boll@gmail.com",
"license": "MIT",
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.5",
"@angular/animations": "~11.0.5",
"@angular/cli": "~11.0.5",
"@angular/common": "~11.0.5",
"@angular/compiler": "~11.0.5",
"@angular/compiler-cli": "~11.0.5",
"@angular/core": "~11.0.5",
"@angular/forms": "~11.0.5",
"@angular/platform-browser": "~11.0.5",
"@angular/platform-browser-dynamic": "~11.0.5",
"@angular/router": "~11.0.5",
"@angular-devkit/build-angular": "^16.2.0",
"@angular/animations": "^16.2.2",
"@angular/cli": "^16.2.0",
"@angular/common": "^16.2.2",
"@angular/compiler": "^16.2.2",
"@angular/compiler-cli": "^16.0.0",
"@angular/core": "^16.2.2",
"@angular/forms": "^16.2.2",
"@angular/platform-browser": "^16.2.2",
"@angular/platform-browser-dynamic": "^16.2.2",
"@angular/router": "^16.2.2",
"@babel/core": "^7.12.10",
"@compodoc/compodoc": "^1.1.11",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-knobs": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/addons": "^6.1.11",
"@storybook/angular": "^6.1.11",
"@storybook/react": "^6.1.11",
"@storybook/addon-actions": "^7.3.2",
"@storybook/addon-essentials": "^7.3.2",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addon-links": "^7.3.2",
"@storybook/addons": "^7.3.2",
"@storybook/angular": "^7.3.2",
"@storybook/core-events": "^7.3.2",
"@storybook/preview-api": "^7.3.2",
"@storybook/react": "^7.3.2",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"babel-loader": "^8.2.2",
"codelyzer": "^6.0.0",
"codelyzer": "^6.0.2",
"concurrently": "^5.3.0",
"cypress": "^6.2.0",
"ng-packagr": "^11.0.0",
"cypress": "^4.2.0",
"ng-packagr": "^16.0.0",
"react": "16.13.1",

@@ -54,10 +60,9 @@ "react-dom": "16.13.1",

"tslib": "^2.0.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2",
"zone.js": "~0.10.2"
"tslint": "^6.1.3",
"typescript": "~4.9.3",
"zone.js": "~0.13.1"
},
"peerDependencies": {
"cypress": "*"
},
"dependencies": {}
}
}
import ReactDOM from 'react-dom'
import { forceReRender } from '@storybook/react'
import { setCurrentStory, changeKnob } from './common'
import { addons } from '@storybook/preview-api'
import { FORCE_RE_RENDER } from '@storybook/core-events'

@@ -24,1 +24,5 @@ function clearCurrentStory() {

}
function forceReRender() {
addons.getChannel().emit(FORCE_RE_RENDER)
}

@@ -132,3 +132,3 @@ # Cypress Storybook

cy.storyAction('clicked').should('have.been.called')
}
})
```

@@ -187,1 +187,5 @@

```
## Cypress 12+
Starting in Cypress 12, the default value for testIsolation was changed to true. In order for this library to use a before block to visit storybook a single time, you will need to update your `cypress.config.ts` file to include `testIsolation: false` under the e2e block.
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