gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

fix: restore passive browsers html-reporter compatibility #1001

Open KuznetsovRoman opened 4 weeks ago

KuznetsovRoman commented 4 weeks ago

We suggest people to move from "hermione-passive-browsers" to "passive", but "passive" doesn't work with html-reporter gui.

In html-reporter gui, we skip all tests, which has silentlySkipped: true: https://github.com/gemini-testing/html-reporter/blob/30d8ec99835bf35a0aa14b2437d3ad7fbc76ba79/lib/gui/tool-runner/index.ts#L337

And Testplane returns silentlySkipped as "is any of nested parents is skipped": https://github.com/gemini-testing/testplane/blob/61813709ea160b6568cc175dced61936200b5de0/src/runner/test-runner/skipped-test-runner.js#L23

So, in order for passive browsers to work, we need to enable all parent suites of tests, enabled with ".also.in"