testplane-storybook

Storybook addon that makes it easy to write hermione tests and speed up their execution time

MIT License

Downloads
78
Stars
5

Bot releases are hidden (Show)

testplane-storybook - Latest Release

Published by KuznetsovRoman about 1 month ago

πŸ› Bug fixes

  • show original error when failed to import module
testplane-storybook -

Published by KuznetsovRoman 4 months ago

πŸ› Bug fixes

  • fix meta.url property to work with remote s3 storybook
testplane-storybook -

Published by KuznetsovRoman 4 months ago

πŸš€ Improvements

  • feat: add ability to use custom autoscreenshot selector (#21)
testplane-storybook -

Published by KuznetsovRoman 4 months ago

πŸš€ Improvements

  • feat: add unsafe option to allow other tests execution (#20)
testplane-storybook -

Published by KuznetsovRoman 4 months ago

Rename to Testplane

testplane-storybook -

Published by KuznetsovRoman 7 months ago

The functionality of the plugin has been completely changed.
It would be easier to delete the old version, and then install the new one.

πŸ’£ Breaking changes

  • node versions less than 18.0.0 are no longer supported
  • now requires hermione 8.4+, storybook 6.4+
  • no longer a storybook plugin
  • now connects to hermione as:
// .hermione.conf.ts
export default {
    plugins: {
        'hermione-storybook': {
            // plugin config
        },

        // other hermione plugins...
    },

    // other hermione settings...
}

(instead of hermione-storybook/hermione)

πŸš€ Improvements

  • add ability to automatically screenshot test storybook stories
  • add ability to write hermione tests inside of storybook story files (available with ts-node)
testplane-storybook -

Published by DudaGod almost 2 years ago

πŸ› Bug fixes

Reset story args when selecting the same story (#8)

Problem reproduced when you have a story with some args (for example a and b) and hermione tests for that story:

  • test t1 set all args (a and b)
  • test t2 set only a args

So in case when t1 will execute first then in t2 argument b will be set to value from t1 which can lead to an incorrect view of the story

testplane-storybook -

Published by DudaGod about 2 years ago

πŸ› Bug fixes

  • fix peer dependency to hermione
Package Rankings
Top 41.55% on Npmjs.org