Git Product home page Git Product logo

Comments (4)

yannbf avatar yannbf commented on August 27, 2024

Hey @sw-tracker can you share a reproduction repo? I just tried and I got the correct behavior for include:

image

And exclude:
image

from test-runner.

sw-tracker avatar sw-tracker commented on August 27, 2024

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.

sw-tracker avatar sw-tracker commented on August 27, 2024

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.

sw-tracker avatar sw-tracker commented on August 27, 2024

You can see the bug here: https://github.com/sw-tracker/storybook-reproduce-tag-problem

image

The command above should only run 1 of the tests, not both.

from test-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.