diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-06-04 10:23:36 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-06-19 12:34:00 +0300 |
commit | c77407458f65984bb04df739e4f69aaed14ad982 (patch) | |
tree | 75f7867628693eda23c00404b6b5aaa45c1cbb5e | |
parent | d166b6c89aa53272b674fd095d6e148945df52c9 (diff) | |
download | vaadin-framework-c77407458f65984bb04df739e4f69aaed14ad982.tar.gz vaadin-framework-c77407458f65984bb04df739e4f69aaed14ad982.zip |
Fix IE11 tests for BrowserStack environment (#10959)
40 files changed, 4 insertions, 26 deletions
diff --git a/uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png b/uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png Binary files differindex c4856314c9..a8bd7d239e 100755..100644 --- a/uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png +++ b/uitest/reference-screenshots/BasicCrudGridEditorRowTest-lookAndFeel_Windows_InternetExplorer_11_editorrow.png diff --git a/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png b/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png Binary files differindex 6607c80d53..a05bdd6e31 100755..100644 --- a/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png +++ b/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_dates.png diff --git a/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png b/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png Binary files differindex f7bc48d0b8..42ea41802d 100755..100644 --- a/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png +++ b/uitest/reference-screenshots/ChameleonThemeTest-testTheme_Windows_InternetExplorer_11_textfields.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png Binary files differnew file mode 100644 index 0000000000..c14466445f --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_base_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png Binary files differnew file mode 100644 index 0000000000..2672522057 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_chameleon_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png Binary files differnew file mode 100644 index 0000000000..2a279820cf --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_reindeer_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..8ccba72e75 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_runo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..7c517c6452 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-custom_Windows_InternetExplorer_11_valo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png Binary files differnew file mode 100644 index 0000000000..ad49f15730 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_base_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png Binary files differnew file mode 100644 index 0000000000..1d2bd70ee1 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png Binary files differnew file mode 100644 index 0000000000..51e879f4d6 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..7f783f5ad1 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_runo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..f58bea9513 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalErrorDetails_Windows_InternetExplorer_11_valo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png Binary files differnew file mode 100644 index 0000000000..af37715a88 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_base_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png Binary files differnew file mode 100644 index 0000000000..258371a4b1 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_chameleon_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png Binary files differnew file mode 100644 index 0000000000..11dfbd0ac5 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_reindeer_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..8f2eef9214 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_runo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..dec3f38ca8 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-internalError_Windows_InternetExplorer_11_valo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png Binary files differnew file mode 100644 index 0000000000..0becdbc06a --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_base_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png Binary files differnew file mode 100644 index 0000000000..72658cc438 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_chameleon_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png Binary files differnew file mode 100644 index 0000000000..ba0edd02ab --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_reindeer_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..248e072428 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_runo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..eadd1ad760 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpiredDetails_Windows_InternetExplorer_11_valo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png Binary files differnew file mode 100644 index 0000000000..f9d80d3722 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_base_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png Binary files differnew file mode 100644 index 0000000000..3a7cf93bed --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_chameleon_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png Binary files differnew file mode 100644 index 0000000000..aa6540ed4f --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_reindeer_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..b4206eaac0 --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_runo_systemnotification.png diff --git a/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png Binary files differnew file mode 100644 index 0000000000..13f128b45f --- /dev/null +++ b/uitest/reference-screenshots/CriticalNotificationsTest-sessionExpired_Windows_InternetExplorer_11_valo_systemnotification.png diff --git a/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png b/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png Binary files differindex 87723b0e12..fcbb34b8de 100755..100644 --- a/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png +++ b/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_dates.png diff --git a/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png b/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png Binary files differindex c17ed0bc3e..8e0c744b60 100755..100644 --- a/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png +++ b/uitest/reference-screenshots/ReindeerThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png diff --git a/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png b/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png Binary files differindex b2fbbaf5ad..9e9420637c 100755..100644 --- a/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png +++ b/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_subwindow-default.png diff --git a/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png b/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png Binary files differindex bba4402d7e..854747f54f 100755..100644 --- a/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png +++ b/uitest/reference-screenshots/RunoThemeTest-testTheme_Windows_InternetExplorer_11_tabsheets.png diff --git a/uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png b/uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png Binary files differindex b4e481a5f4..988f3bd1ad 100755..100644 --- a/uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png +++ b/uitest/reference-screenshots/ValoThemeUITest-tabsAlignCenter_Windows_InternetExplorer_11_tabs-align-center.png diff --git a/uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png b/uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png Binary files differindex 6fca8c15cf..e06df47a42 100755..100644 --- a/uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png +++ b/uitest/reference-screenshots/ValoThemeUITest-tabsClosable_Windows_InternetExplorer_11_tabs-closable-disabled.png diff --git a/uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png b/uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png Binary files differindex af48bc9857..a3d5a5230e 100755..100644 --- a/uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png +++ b/uitest/reference-screenshots/WindowZIndexTest-removingUpdatesZIndices_Windows_InternetExplorer_11_stacked.png diff --git a/uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java b/uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java index f783ddf72d..e9f0aed316 100644 --- a/uitest/src/main/java/com/vaadin/tests/contextclick/GridContextClick.java +++ b/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", diff --git a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java b/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java index aa590f2728..d0ae375db0 100644 --- a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java +++ b/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"); diff --git a/uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java b/uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java index a96e2d3c1d..39d40438fc 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java +++ b/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"); diff --git a/uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java b/uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java index 974053d912..24816845c5 100644 --- a/uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java +++ b/uitest/src/test/java/com/vaadin/tests/contextclick/AbstractContextClickTest.java @@ -27,11 +27,6 @@ public abstract class AbstractContextClickTest extends MultiBrowserTest { .compile("[0-9]+. ContextClickEvent: [(]([0-9]+), ([0-9]+)[)]"); @Override - protected boolean useNativeEventsForIE() { - return false; - } - - @Override public List<DesiredCapabilities> getBrowsersToTest() { return getBrowsersSupportingContextMenu(); } diff --git a/uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java b/uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java index 3305fb059a..5a3c6edad3 100644 --- a/uitest/src/test/java/com/vaadin/tests/contextclick/GridContextClickTest.java +++ b/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)); } |