testplane icon indicating copy to clipboard operation
testplane copied to clipboard

fix: restore passive browsers html-reporter compatibility

Open KuznetsovRoman opened this issue 1 year ago • 0 comments

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"

KuznetsovRoman avatar Aug 15 '24 22:08 KuznetsovRoman