Comments (4)
Hey @sw-tracker can you share a reproduction repo? I just tried and I got the correct behavior for include:
![image](https://private-user-images.githubusercontent.com/1671563/333706376-ad8083b1-a2ef-4f5d-8b2f-4158350eae45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4MDgyMTUsIm5iZiI6MTcyMzgwNzkxNSwicGF0aCI6Ii8xNjcxNTYzLzMzMzcwNjM3Ni1hZDgwODNiMS1hMmVmLTRmNWQtOGIyZi00MTU4MzUwZWFlNDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTZUMTEzMTU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWIzMjEwMDdlMTNmNDk5NjFjMGYzMThkMzQ3N2VlMTI4MWM4ODE2ZWI0YWJmNzdmYjAyNDlhMzIyODc3YzEzMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.NoWdqzr6Zfkn2k9lIFacdVsyIBAbl5guvJ6KAtg4NwA)
from test-runner.
I will setup a repo to reproduce it. In the meantime I can give you the dependency versions I have in my project:
"@storybook/addon-actions": "7.0.2",
"@storybook/addon-coverage": "0.0.8",
"@storybook/addon-docs": "7.0.2",
"@storybook/addon-essentials": "7.0.2",
"@storybook/addon-interactions": "7.0.2",
"@storybook/addon-links": "7.0.2",
"@storybook/jest": "0.1.0",
"@storybook/react": "7.0.2",
"@storybook/react-webpack5": "7.0.2",
"@storybook/test-runner": "0.18.1",
"@storybook/testing-library": "0.1.0",
"storybook": "7.0.2",
"storybook-addon-manual-mocks": "0.1.1",
"storybook-addon-mock": "4.0.0",
Maybe it has something to do with the versions I have.
from test-runner.
I found how to reproduce it, as soon as you have playwright tests in the stories file, the tags start to misbehave.
BlahButton2PrimaryStory2.play = async ({ args }) => {
};
from test-runner.
You can see the bug here: https://github.com/sw-tracker/storybook-reproduce-tag-problem
The command above should only run 1 of the tests, not both.
from test-runner.
Related Issues (20)
- [Bug]: Storybook 8.1.4 updated stories index to v5, which is unsupported
- [Bug]: Globals variable not properly defined
- [Bug]: How do I get chrome browser logs working?
- [Feature request]: Add `logLevel` to cli options
- [Bug]: Ejecting adds `require` of file that does not exist HOT 2
- [Bug]: how to debug test runner network issues HOT 1
- [Feature request]: Respect dangerouslyIgnoreUnhandledErrors HOT 3
- [Bug]: --includeTags missing some tests HOT 2
- [Bug]: combineTags not available in @storybook/[email protected] HOT 1
- [Feature request]: `defaultPrepare` should be exported
- [Bug]: PostVisit hook unable to access story source code HOT 7
- [Bug]: command test-storybook fails with yarn-berry HOT 11
- Test-runner tests files with no .stories file HOT 2
- [Bug]: A worker process has failed to exit gracefully and has been force exited.
- [Feature request]: is there a way to fail tests in console when coverage threshold is not met HOT 1
- [Bug]: Not able to achieve 100% interaction tests coverage for specific components
- [Feature request]: Run coverage report for interaction tests only
- [Feature request]: Add option to retry failed tests
- [Bug]: After ejecting, `setupFilesAfterEnv` cannot be used
- Server-Side Request Forgery in axios (CVE-2024-39338) - update to axios 1.7.4 needed
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 test-runner.