Open Bug 1938689 Opened 1 year ago Updated 1 year ago

Some tests are passing in wpt suites but not individually

Categories

(Testing :: web-platform-tests, defect)

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.

The severity field is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(james)

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.

Severity: -- → S3
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.