Skip to content

Commit ccbf354

Browse files
committed
Fix: specify webdriver resolution to ensure enough width so that a full line of text fits on one line of the Client.
1 parent bd0501c commit ccbf354

File tree

1 file changed

+1
-0
lines changed
  • server/tests/overall_core

1 file changed

+1
-0
lines changed

server/tests/overall_core/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ macro_rules! harness {
164164
// Start the webdriver.
165165
let server_url = "http://localhost:4444";
166166
let mut caps = DesiredCapabilities::chrome();
167+
caps.add_arg("--resolution=1024x768");
167168
caps.add_arg("--headless")?;
168169
// On Ubuntu CI, avoid failures, probably due to running Chrome as
169170
// root.

0 commit comments

Comments
 (0)