Tags can currently be used to include, exclude and skip specific stories in the test runner. It would be nice if the tags of the story were available on the TestContext which is passed as the second argument to e.g. postVisit. This would allow custom logic based on tags.
We currently have two use cases for this: skipping accessibility tests for the story (but not all tests), and delaying execution of the accessibility tests to not get a contrast violation when a component has a fade-in transition.
Tags can currently be used to include, exclude and skip specific stories in the test runner. It would be nice if the tags of the story were available on the
TestContext
which is passed as the second argument to e.g.postVisit
. This would allow custom logic based on tags.We currently have two use cases for this: skipping accessibility tests for the story (but not all tests), and delaying execution of the accessibility tests to not get a contrast violation when a component has a fade-in transition.