Bug 1913832 - [puppeteer] Fix expectations filter for puppeteer-test command r=webdriver-reviewers,Sasha

Depends on D219565

Differential Revision: https://phabricator.services.mozilla.com/D219608
This commit is contained in:
Julian Descottes 2024-08-20 19:45:12 +00:00
parent 4e741bfa84
commit e7d23ba18c
2 changed files with 4 additions and 2 deletions

View File

@ -606,7 +606,9 @@ def is_relevant_expectation(
parameters = expectation["parameters"]
if expected_product == "firefox":
is_expected_product = "chrome" not in parameters
is_expected_product = (
"chrome" not in parameters and "chrome-headless-shell" not in parameters
)
else:
is_expected_product = "firefox" not in parameters

View File

@ -2562,7 +2562,7 @@
{
"testIdPattern": "[oopif.spec] OOPIF should evaluate on a page with a PDF viewer",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "chrome-specific test"
},