diff --git a/test/helpers/selenium-helper.js b/test/helpers/selenium-helper.js index a2ae9ab8b..60d86649a 100644 --- a/test/helpers/selenium-helper.js +++ b/test/helpers/selenium-helper.js @@ -236,8 +236,13 @@ class SeleniumHelper { const outerError = new Error(`loadUri failed with arguments:\n\turi: ${uri}`); try { await this.setTitle(`loadUri ${uri}`); + // TODO: The height is set artificially high to fix this test: + // 'Loading with locale shows correct translation for string length block parameter' + // which fails because the block is offscreen. + // We should set this back to 1024x768 once we find a good way to fix that test. + // Using `scrollIntoView` didn't seem to do the trick. const WINDOW_WIDTH = 1024; - const WINDOW_HEIGHT = 768; + const WINDOW_HEIGHT = 960; await this.driver .get(`file://${uri}`); await this.driver