testbench icon indicating copy to clipboard operation
testbench copied to clipboard

Run tests headless when not debugging and headed when debugging

Open Artur- opened this issue 6 years ago • 0 comments

This is how Flow does it https://github.com/vaadin/flow/blob/master/flow-test-util/src/main/java/com/vaadin/flow/testutil/ChromeBrowserTest.java#L68 Seems like a reasonable default to avoid having to manunally set/reset headless mode

Note that this mostly/only makes sense when running locally and not on a hub. When running on e.g. Saucelabs, headless probably does not offer any additional benefits

Artur- avatar Mar 26 '18 07:03 Artur-