Some tests are passing in wpt suites but not individually
Categories
(Testing :: web-platform-tests, defect)
Tracking
(Not tracked)
People
(Reporter: handyman, Unassigned)
Details
Bug 1937188 found that some wpt geolocation tests were only passing because an earlier test in the suite was granting a permission that they needed. I think this problem is more pervasive -- locally I see the same kind of test failure for the battery API tests, and there are probably others. The tests were broken upstream so we weren't monitoring the changes.
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:jgraham, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•1 year ago
|
||
Currently tests are expected to clean up their own permissions grants, but maybe a better solution would be for the harness to unset all permissions grants at the end of each test? For those purposes it would be really useful to have a permissions.reset() command in the spec, which would reset all permissions back to the UA default. But I don't know how hard that would be to implement.
Description
•