Browse Source

Fix IE11 tests for BrowserStack environment (#10959)

tags/8.5.0.alpha2
Teemu Suo-Anttila 6 years ago
parent
commit
b2a02c4636
No account linked to committer's email address
40 changed files with 4 additions and 26 deletions
  1. BIN
      uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png
  2. BIN
      uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png
  3. BIN
      uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png
  4. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png
  5. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png
  6. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png
  7. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png
  8. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png
  9. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png
  10. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png
  11. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png
  12. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png
  13. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png
  14. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png
  15. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png
  16. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png
  17. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png
  18. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png
  19. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png
  20. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png
  21. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png
  22. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png
  23. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png
  24. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png
  25. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png
  26. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png
  27. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png
  28. BIN
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png
  29. BIN
      uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png
  30. BIN
      uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png
  31. BIN
      uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png
  32. BIN
      uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png
  33. BIN
      uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png
  34. BIN
      uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png
  35. BIN
      uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png
  36. 2
    2
      uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java
  37. 0
    10
      uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java
  38. 0
    6
      uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java
  39. 0
    5
      uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java
  40. 2
    3
      uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java

BIN
uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png View File


BIN
uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png View File


BIN
uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png View File


BIN
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png View File


BIN
uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png View File


BIN
uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png View File


BIN
uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png View File


BIN
uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png View File


BIN
uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png View File


BIN
uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png View File


BIN
uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png View File


+ 2
- 2
uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java View File

grid.addColumn(person -> String.valueOf(person.getAddress().getCity())) grid.addColumn(person -> String.valueOf(person.getAddress().getCity()))
.setCaption("City"); .setCaption("City");


// grid.setFooterVisible(true);
// grid.appendFooterRow();
grid.setFooterVisible(true);
grid.appendFooterRow();


// grid.setColumnOrder("address", "email", "firstName", "lastName", // grid.setColumnOrder("address", "email", "firstName", "lastName",
// "phoneNumber", "address.streetAddress", "address.postalCode", // "phoneNumber", "address.streetAddress", "address.postalCode",

+ 0
- 10
uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java View File



public class CriticalNotificationsTest extends MultiBrowserThemeTest { public class CriticalNotificationsTest extends MultiBrowserThemeTest {


@Override
protected boolean useNativeEventsForIE() {
if (BrowserUtil.isIE(getDesiredCapabilities(), 11)) {
// Use JavaScript events only for IE11
return false;
} else {
return true;
}
}

@Test @Test
public void internalError() throws Exception { public void internalError() throws Exception {
testCriticalNotification("Internal error"); testCriticalNotification("Internal error");

+ 0
- 6
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java View File

.isElementPresent(By.className("v-treegrid-expander"))); .isElementPresent(By.className("v-treegrid-expander")));
} }


@Override
protected boolean useNativeEventsForIE() {
// Fixes IE11 selectMenuPath troubles
return false;
}

@Test @Test
public void expand_and_collapse_listeners() { public void expand_and_collapse_listeners() {
selectMenuPath("Component", "State", "Expand listener"); selectMenuPath("Component", "State", "Expand listener");

+ 0
- 5
uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java View File

private Pattern defaultLog = Pattern private Pattern defaultLog = Pattern
.compile("[0-9]+. ContextClickEvent: [(]([0-9]+), ([0-9]+)[)]"); .compile("[0-9]+. ContextClickEvent: [(]([0-9]+), ([0-9]+)[)]");


@Override
protected boolean useNativeEventsForIE() {
return false;
}

@Override @Override
public List<DesiredCapabilities> getBrowsersToTest() { public List<DesiredCapabilities> getBrowsersToTest() {
return getBrowsersSupportingContextMenu(); return getBrowsersSupportingContextMenu();

+ 2
- 3
uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java View File

} }


@Test @Test
@Ignore("Footer is not currently implemented in grid")
public void testFooterContextClickWithTypedListener() { public void testFooterContextClickWithTypedListener() {
addOrRemoveTypedListener(); addOrRemoveTypedListener();


contextClick($(GridElement.class).first().getFooterCell(0, 0)); contextClick($(GridElement.class).first().getFooterCell(0, 0));


assertEquals( assertEquals(
"1. ContextClickEvent value: , column: Address, section: FOOTER",
"1. ContextClickEvent value: Address, column: Address, section: FOOTER",
getLogRow(0)); getLogRow(0));


contextClick($(GridElement.class).first().getFooterCell(0, 3)); contextClick($(GridElement.class).first().getFooterCell(0, 3));


assertEquals( assertEquals(
"2. ContextClickEvent value: , column: Last Name, section: FOOTER",
"2. ContextClickEvent value: Last Name, column: Last Name, section: FOOTER",
getLogRow(0)); getLogRow(0));
} }



Loading…
Cancel
Save