]> source.dussan.org Git - vaadin-framework.git/blob
bc6b42b511bcee5bf4ae79bf1a3e7ac324881a65
[vaadin-framework.git] /
1 package com.vaadin.tests.components.formlayout;
2
3 import java.io.IOException;
4
5 import org.junit.Ignore;
6 import org.junit.Test;
7 import org.openqa.selenium.Keys;
8 import org.openqa.selenium.interactions.Actions;
9
10 import com.vaadin.tests.tb3.MultiBrowserTest;
11 import com.vaadin.v7.testbench.customelements.TableElement;
12
13 public class TableInFormLayoutCausesScrollingTest extends MultiBrowserTest {
14
15     @Test
16     @Ignore
17     // This test is actually testing that #7309 is NOT fixed.
18     // Ignoring the test because it is not stable and it's
19     // occasionally failing on browsers even when it shouldn't.
20     // There's no point fixing this test before #7309 is actually fixed.
21     public void pageIsNotScrolled() throws IOException {
22         openTestURL();
23
24         new Actions(driver).sendKeys(Keys.PAGE_DOWN).perform();
25
26         $(TableElement.class).first().getCell(2, 0).click();
27
28         compareScreen("scrolledDown");
29     }
30 }