mirror of
https://github.com/servo/servo.git
synced 2025-07-17 20:33:40 +01:00
CI: WebDriver test on try (#37498)
Add webdriver test on the workflow with `--product servodriver`. This will make tracking progression/regression in webdriver development easier. However, since webdriver test is still unstable, the webdriver test is only enabled on try. To run try: `./mach try wd`, `./mach try webdriver` Testing: This PR add webdriver test on try Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
b8ac9d3472
commit
d5b6160119
1 changed files with 16 additions and 0 deletions
|
@ -109,6 +109,22 @@ def handle_preset(s: str) -> Optional[JobConfig]:
|
||||||
profile="production", # WebGPU works to slow with debug assert
|
profile="production", # WebGPU works to slow with debug assert
|
||||||
unit_tests=False,
|
unit_tests=False,
|
||||||
) # production profile does not work with unit-tests
|
) # production profile does not work with unit-tests
|
||||||
|
elif any(word in s for word in ["webdriver", "wd"]):
|
||||||
|
return JobConfig(
|
||||||
|
"WebDriver",
|
||||||
|
Workflow.LINUX,
|
||||||
|
wpt=True,
|
||||||
|
wpt_args=" ".join(
|
||||||
|
[
|
||||||
|
"./tests/wpt/tests/webdriver/tests/classic/",
|
||||||
|
"--pref=dom_testing_html_input_element_select_files_enabled",
|
||||||
|
"--product servodriver",
|
||||||
|
"--headless",
|
||||||
|
]
|
||||||
|
),
|
||||||
|
unit_tests=False,
|
||||||
|
number_of_wpt_chunks=1,
|
||||||
|
)
|
||||||
elif any(word in s for word in ["lint", "tidy"]):
|
elif any(word in s for word in ["lint", "tidy"]):
|
||||||
return JobConfig("Lint", Workflow.LINT)
|
return JobConfig("Lint", Workflow.LINT)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue