瀏覽代碼

Fix IE11 tests for BrowserStack environment (#10959)

tags/8.5.0.alpha2
Teemu Suo-Anttila 6 年之前
父節點
當前提交
b2a02c4636
沒有連結到貢獻者的電子郵件帳戶。
共有 40 個檔案被更改,包括 4 行新增26 行删除
  1. 二進制
      uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png
  2. 二進制
      uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png
  3. 二進制
      uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png
  4. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png
  5. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png
  6. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png
  7. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png
  8. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png
  9. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png
  10. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png
  11. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png
  12. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png
  13. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png
  14. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png
  15. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png
  16. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png
  17. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png
  18. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png
  19. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png
  20. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png
  21. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png
  22. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png
  23. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png
  24. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png
  25. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png
  26. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png
  27. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png
  28. 二進制
      uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png
  29. 二進制
      uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png
  30. 二進制
      uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png
  31. 二進制
      uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png
  32. 二進制
      uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png
  33. 二進制
      uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png
  34. 二進制
      uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png
  35. 二進制
      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

二進制
uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png 查看文件


二進制
uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png 查看文件


二進制
uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png 查看文件


二進制
uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png 查看文件


二進制
uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png 查看文件


二進制
uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png 查看文件


二進制
uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png 查看文件


二進制
uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png 查看文件


二進制
uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png 查看文件


二進制
uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png 查看文件


+ 2
- 2
uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java 查看文件

@@ -33,8 +33,8 @@ public class GridContextClick extends
grid.addColumn(person -> String.valueOf(person.getAddress().getCity()))
.setCaption("City");

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

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

+ 0
- 10
uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java 查看文件

@@ -10,16 +10,6 @@ import com.vaadin.tests.tb3.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
public void internalError() throws Exception {
testCriticalNotification("Internal error");

+ 0
- 6
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java 查看文件

@@ -263,12 +263,6 @@ public class TreeGridBasicFeaturesTest extends MultiBrowserTest {
.isElementPresent(By.className("v-treegrid-expander")));
}

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

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

+ 0
- 5
uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java 查看文件

@@ -26,11 +26,6 @@ public abstract class AbstractContextClickTest extends MultiBrowserTest {
private Pattern defaultLog = Pattern
.compile("[0-9]+. ContextClickEvent: [(]([0-9]+), ([0-9]+)[)]");

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

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

+ 2
- 3
uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java 查看文件

@@ -46,20 +46,19 @@ public class GridContextClickTest extends AbstractContextClickTest {
}

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

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

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

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

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


Loading…
取消
儲存