Code Monkey home page Code Monkey logo

Comments (7)

backwardok avatar backwardok commented on June 29, 2024 1

Yeah that definitely would be helpful! It would also be great to have a top level option similar to skip or instead of skip that could use all existing rules.

Something like

axe: {
  runStatus: 'off'/'warn'/'error'
}

Not tied to that wording at all, had a hard time thinking of a good name there 😂

from axe-storybook-testing.

backwardok avatar backwardok commented on June 29, 2024 1

@ahuth you're amazing! It might be a little while before we're able to fully test this out but I'll let you know how it goes!

from axe-storybook-testing.

ahuth avatar ahuth commented on June 29, 2024

Good point. Are you thinking instead of

disabledRules: ['foo', 'bar', 'baz'],

it could be

ruleOverrides: {
  foo: 'off',
  bar: 'warn',
  baz: 'warn',
},

or something like that?

If so, I like it 👍 . We can definitely add that or something similar.

from axe-storybook-testing.

ahuth avatar ahuth commented on June 29, 2024

Ah, gotcha. I misunderstood before, but now it's clear. We're talking about marking an entire story as non-failing, but still report its results.

Makes sense to me, and I'll add that.

from axe-storybook-testing.

backwardok avatar backwardok commented on June 29, 2024

Thank you @ahuth ! 😄

from axe-storybook-testing.

ahuth avatar ahuth commented on June 29, 2024

@backwardok I implemented this in #70 and merged it. Going to do some more testing, and probably publish a release with it tomorrow.

from axe-storybook-testing.

ahuth avatar ahuth commented on June 29, 2024

Released in v6.3.0 🚀

How the results are displayed leaves a little bit to be desired, but it's the simplest way I could do it without much deeper refactoring. Lemme know how it works for you!

from axe-storybook-testing.

Related Issues (17)

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.