Comments (1)
I think I have figured that out. Test pages preserve state between runs. That means that if you made state changes, changed props, or even move mouse pointer or keep mouse button pressed without releasing—all of that will affect next runs. You can even totally block browser by clicking on <input type="file">
thus opening “choose file” dialog.
So, if you made any actions in the story while performing test—return it to initial state to keep test runs stable.
from creevey.
Related Issues (20)
- Behaviour of waitForReady and delay HOT 1
- Browser specific delays for tests HOT 3
- failFast:true disables maxRetries config option HOT 2
- Using webkit/safari results in ERROR => UnknownCommandError: Unknown command: /wd/hub/session HOT 1
- maxRetries and non-existing screenshots HOT 1
- Unexpected story export "image": expected function, received "object". HOT 2
- `ssh2` vulnerable version through `docker-modem` HOT 1
- [Creevey:21879] ERROR => TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 3
- Storybook vite builder breaks creevey chrome after hot-reload
- Storybook 6.4.0 - TypeError: Cannot read properties of undefined (reading 'removeAllListeners') HOT 12
- Creevey with Docker Desktop alternatives HOT 1
- Malicious code through dependency
- Typescript support
- Storybook 6.5 support, bundle with many chunks
- creevey with storybook 6.5
- Extract `metadata` object from story
- Getting the creevey server can't reach error
- Does not support storybook 7 HOT 2
- Storybook v8 ERR_PACKAGE_PATH_NOT_EXPORTED
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from creevey.