You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GridSortingIndicatorsTest.java 581B

1234567891011121314151617181920212223
  1. package com.vaadin.v7.tests.components.grid.basicfeatures;
  2. import java.io.IOException;
  3. import org.junit.Test;
  4. import com.vaadin.testbench.elements.ButtonElement;
  5. import com.vaadin.testbench.parallel.TestCategory;
  6. import com.vaadin.tests.tb3.MultiBrowserTest;
  7. @TestCategory("grid")
  8. public class GridSortingIndicatorsTest extends MultiBrowserTest {
  9. @Test
  10. public void testSortingIndicators() throws IOException {
  11. openTestURL();
  12. compareScreen("initialSort");
  13. $(ButtonElement.class).first().click();
  14. compareScreen("reversedSort");
  15. }
  16. }