Commit Graph
733 Commits
Author SHA1 Message Date
Steffen Schaefer b2cb5fb85c Bug 4339: Fixed non deterministic test failure by waiting for
RegattaDetailsCompositePO to get visible and not just returning null in
case it isn't
2018-07-31 15:34:37 +02:00
Steffen Schaefer 158df922a7 Bug 4693: Fixed cookie handling for multi window setup. Dependent on the
browser it was possible that the session cookie could not be set due to
origin problems.
2018-07-31 13:30:19 +02:00
Kai Börnert d39b0ddd3a bug4339 solved older todo for selenium upgrade 2018-07-31 13:22:18 +02:00
Kai Börnert 5334f38e41 bug4339 solved older todo for selenium upgrade 2018-07-31 13:14:27 +02:00
Kai Börnert 39d8e3301a bug4339 allow CellTablePo.select to finish without looping the whole
table, if requested
2018-07-31 13:01:03 +02:00
Steffen Schaefer a4c60143da Bug 4339: Correct handling of notifications in case of an update 2018-07-31 11:18:22 +02:00
Steffen Schaefer c5a3338ac2 Bug 4339: Correct handling of alert 2018-07-31 11:15:48 +02:00
Steffen Schaefer 0cb345df75 Bug 4339: Notifications are now shown for 120s in selenium tests to
prevent timing problems
2018-07-31 09:15:10 +02:00
Steffen Schaefer 7ccfcb5120 Bug 4339: All supported browsers provide WebStorage 2018-07-31 09:02:04 +02:00
Steffen Schaefer 328d05b4a0 Bug 4339: Explicitly handling an expected alert. This was formerly
handled implicitly whenever tracking races. It is now decided by the
test if an alert is opened in a specific case.
2018-07-31 08:28:42 +02:00
Steffen Schaefer 2443cb27e6 Bug 4339: Using WebDriverWait to wait for an alert instead of a manual
implementation
2018-07-31 08:26:14 +02:00
Steffen Schaefer 915be6ff81 Bug 4339: Fixed broken implementation of hashCode in
TrackableRaceDescriptor
2018-07-30 14:27:41 +02:00
Steffen Schaefer 652737cdd8 Bug 4339: Fixed method call 2018-07-30 11:07:01 +02:00
Steffen Schaefer 34defb6501 Bug 4339: Using set for lookup instead of list 2018-07-30 11:06:08 +02:00
Steffen Schaefer f46687e0a2 Bug 4339: Further code cleanup 2018-07-30 11:00:57 +02:00
Steffen Schaefer d2d0f951b5 Bug 4339: Code cleanup and removed code duplications 2018-07-30 10:59:08 +02:00
Steffen Schaefer eb7ae74cd5 Bug 4339: Using correct boat class 2018-07-30 10:53:46 +02:00
Steffen Schaefer e28dc25350 Bug 4339: Removed code duplication 2018-07-30 10:51:42 +02:00
Steffen Schaefer 54955ca3c6 Bug 4339: Fixed a PO bug that caused races to not get tracked 2018-07-30 10:46:10 +02:00
Steffen Schaefer 7c21ceffe4 Bug 4339: Using a consistent central PO implementation to handle
notifications in Selenium tests. This should also fix a non
deterministic test failure.
2018-07-30 10:32:04 +02:00
Steffen Schaefer 5711c21f73 Bug 4339: Using default timeout 2018-07-30 10:29:35 +02:00
Steffen Schaefer 1853ecf929 Bug 4339: Defined a specific wait timeout for notifications that
automatically disappear after 10s. It's useless to wait 120s here.
2018-07-30 10:28:34 +02:00
Steffen Schaefer 1831804f0c Bug 4339: Activated tests again that were temporarily ignored on master 2018-07-30 09:10:29 +02:00
Steffen Schaefer 8fa7c2ee8d Merge branch 'master' into bug4339
Conflicts:
  java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/PageObject.java
2018-07-30 09:07:56 +02:00
Steffen Schaefer bac4271a76 Temporarily ignored non deterministic test cases (these will be active
again on bug4339)
2018-07-30 08:54:00 +02:00
Kai Börnert 4a509b3dcf bug4339 after making settings default, a notification appears, this one
should be dismissed, as it might block ui elements
2018-07-26 21:01:48 +02:00
Kai Börnert 4038b61c8a bug4339 improved waitForNotification method, to use fluentwait properly 2018-07-26 21:01:09 +02:00
Kai Börnert 94298db403 bug4339 the wait should no longer be necessary, as pressOk blocks until
the dialog is hidden.
2018-07-26 16:07:28 +02:00
Kai Börnert d84b609dac bug 4339 adjust tests for raceboard to be more resistant against timing
issues
2018-07-26 13:38:20 +02:00
Axel Uhl 9a6357cc2b improved Selenium parameter names
Change-Id: I2e4181c4f3c105b23ca33c94d4d5fd7fb47beb0b
2018-07-26 09:58:41 +02:00
Steffen Schaefer 005acbdd05 Bug 4339: Fix for non deterministic test failure due to
waitForAjaxRequests not being successful because of many parallel remote
calls
2018-07-26 09:41:36 +02:00
Steffen Schaefer 51f6fdb013 Bug 4339: Using consistent window sizes 2018-07-25 08:09:35 +02:00
Steffen Schaefer e4a04ee389 Bug 4339: PageObject.waitUntil where possible 2018-07-24 15:38:35 +02:00
Steffen Schaefer a27bc61b37 Bug 4339: DataEntryDialogPO now waits until the dialog is displayed to
prevent some timing problems
2018-07-24 15:00:30 +02:00
Steffen Schaefer ab76c11919 Revert "Bug 4339: Also cleaning Cookies before starting a new test case"
This reverts commit c97f4148bc.
2018-07-24 14:56:49 +02:00
Steffen Schaefer 1ed46dc6e4 Bug 4339: Makes multi window tests to not fail if the test closes the
extra window
2018-07-24 11:19:12 +02:00
Steffen Schaefer c97f4148bc Bug 4339: Also cleaning Cookies before starting a new test case 2018-07-24 11:18:16 +02:00
Steffen Schaefer f2c418c305 Bug 4339: Fixed failing tests after last master merge: an alert isn't
shown anymore when pressing "make default" in settings dialogs
2018-07-24 11:04:27 +02:00
Steffen Schaefer d5ad8404b8 Merge branch 'master' into bug4339 2018-07-24 08:52:31 +02:00
Steffen Schaefer 7c62ab3709 Bug 4339: Code cleanup 2018-07-24 08:51:40 +02:00
Steffen Schaefer 97760611d1 Bug 4339: Ensures that extra windows are consistently set up regarding
window size and clean up
2018-07-24 08:51:15 +02:00
Steffen Schaefer de6394b3c1 Bug 4339: Removed code duplication 2018-07-24 08:39:50 +02:00
Steffen Schaefer 5ab1bf1815 Bug 4339: If maximizing the browser window does not work with a specific
WebDriver, we now try to set a proper resolution as fallback
2018-07-24 08:19:20 +02:00
Steffen Schaefer 2839c7431e Bug 4339: Solve some possible StaleElementReferenceExceptions in generic
dialog handling
2018-07-23 15:10:31 +02:00
Steffen Schaefer c1e80ee40f Bug 4339: Ensures that we wait for dialogs to close when clicking ok 2018-07-23 15:03:14 +02:00
Steffen Schaefer f00a4325ef Bug 4339: Ensures that we wait for validation in dialogs and click the
ok button after it is scrolled into view and active
2018-07-23 15:02:48 +02:00
Kai Börnert 5bad8598cc Merge branch 'bug4655' 2018-07-23 14:26:31 +02:00
Steffen Schaefer 2a99cc8319 Bug 4339: Lowering default polling interval. Modern browsers are much
faster which means the first poll will almost always fail so that we
would need to wait 5sec very often.
2018-07-23 14:08:08 +02:00
Steffen Schaefer dc2c38ce68 Bug 4339: For WebDriver implementations that do not use tabs but
distinct extra windows we need to manually maximize those extra windows.
On Windows this is e.g. needed for IE.
2018-07-23 14:06:41 +02:00
Steffen Schaefer 0fc686c553 Bug 4339: More configurations may be needed to use IE driver
successfully
2018-07-23 13:32:17 +02:00