8000 CI: WebDriver test on try (#37498) · servo/servo@d5b6160 · GitHub
[go: up one dir, main page]

Skip to content

Commit d5b6160

Browse files
PotatoCPsagudev
andauthored
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>
1 parent b8ac9d3 commit d5b6160

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

python/servo/try_parser.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,22 @@ def handle_preset(s: str) -> Optional[JobConfig]:
109109
profile="production", # WebGPU works to slow with debug assert
110110
unit_tests=False,
111111
) # production profile does not work with unit-tests
112+
elif any(word in s for word in ["webdriver", "wd"]):
113+
return JobConfig(
114+
"WebDriver",
115+
Workflow.LINUX,
116+
wpt=True,
117+
wpt_args=" ".join(
118+
[
119+
"./tests/wpt/tests/webdriver/tests/classic/",
120+
"--pref=dom_testing_html_input_element_select_files_enabled",
121+
"--product servodriver",
122+
"--headless",
123+
]
124+
),
125+
unit_tests=False,
126+
number_of_wpt_chunks=1,
127+
)
112128
elif any(word in s for word in ["lint", "tidy"]):
113129
return JobConfig("Lint", Workflow.LINT)
114130
else:

0 commit comments

Comments
 (0)
0