git.iko.soy/typeable/elm-ui
on master help sign in
standardize window size for tests (probably want to test on multiple sizes in the future)
commit975edb71eecdeac6fd3c717818dc1e57fd896e02 authorMatthew Griffith <mdg.griffith@gmail.com> dateSat 20 Jul 2019, 11:04 (7 years ago) parentc0eff78
1 file changed+1
tests/automation/run.js+1
tests/automation/run.js+1
@@ -131,6 +131,7 @@ async function prepare_local_driver(env) {
131131async function run_test(driver, url) {
132132 var results = null
133133 try {
134+ await driver.manage().window().setRect({ width: 1200, height: 800, x: 0, y: 0 });
134135 await driver.get(url);
135136 await driver.wait(until.titleIs('tests finished'), 120 * 1000);
136137 results = await driver.executeScript("return test_results")