You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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,This would be very flexible and maybe cover more use cases.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions