-
-
Couldn't load subscription status.
- Fork 751
How to filter tests
#2807
-
Hi, I'm writing multiple suites of BDD tests which will run using workers with the multiple approach. Some are browser dependant, and grep isn't really flexible enough. Is there a way to use events to filter? For example,
const browsers = ["firefox", "chromium", "webkit"];
workers.on(event.test.before, (test) => {
if (workerIndex === 2) { // webkit
test.skip(); // don't run this test
}
});
This would be very flexible and maybe cover more use cases.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment