Add more width to the failing test

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=239500726
This commit is contained in:
gbrodman 2019-03-20 16:33:38 -07:00 committed by jianglai
parent f589f387c2
commit 1e2a60a390
2 changed files with 1 additions and 1 deletions

View file

@ -286,7 +286,7 @@ public class RegistrarConsoleScreenshotTest {
@Test @Test
public void indexPage_smallScrolledDown() throws Throwable { public void indexPage_smallScrolledDown() throws Throwable {
driver.manage().window().setSize(new Dimension(400, 300)); driver.manage().window().setSize(new Dimension(600, 300));
driver.get(server.getUrl("/registrar")); driver.get(server.getUrl("/registrar"));
driver.waitForElement(By.tagName("h1")); driver.waitForElement(By.tagName("h1"));
driver.executeScript("document.getElementById('reg-content-and-footer').scrollTop = 200"); driver.executeScript("document.getElementById('reg-content-and-footer').scrollTop = 200");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After