Steffen Schaefer
8545745e25
Bug 4693: using correct browser window
2018-07-31 09:43:49 +02:00
Steffen Schaefer
254a738b14
Bug 4693: Added local storage support for IE
2018-07-31 09:43:38 +02:00
Steffen Schaefer
140114abba
Merge branch 'bug4339' into bug4693
2018-07-31 09:17:40 +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
768d15f559
Bug 4339: NotificationPanel now supports a custom timeout to be set by
...
local storage. This is useful in tests to prevent timing problems.
2018-07-31 09:14:19 +02:00
Steffen Schaefer
7ccfcb5120
Bug 4339: All supported browsers provide WebStorage
2018-07-31 09:02:04 +02:00
Steffen Schaefer
f02f1e90d5
Merge branch 'master' into bug4339
2018-07-31 08:29:17 +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
b83a6db112
Bug 4693: Using a distinct file name for each screenshot to not override
...
existing images
2018-07-30 15:31:21 +02:00
Steffen Schaefer
44d0608eb3
Bug 4693: Taking screenshots of all open windows in case of a test
...
failure / Improved cleanup of opened windows after a test case finished
2018-07-30 15:22:04 +02:00
Steffen Schaefer
1021723c7e
Bug 4339: Fixed session handling for multi window setup
2018-07-30 14:46:21 +02:00
Steffen Schaefer
29e628187b
Bug 4339: There are test failures regarding multi window handling (e.g.
...
in IE). To fix this we now create a new WebDriver instance for new
windows to prevent those problems
2018-07-30 14:46:19 +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
Steffen Schaefer
56d3f902bd
Merge branch 'master' into bug4339
2018-07-26 09:42:45 +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
f266258640
Merge branch 'master' into bug4339
2018-07-25 08:10:09 +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
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
Steffen Schaefer
af9d6cd3f3
Bug 4339: IE driver needs a specific capability to produce less
...
non-deterministic fails
2018-07-23 13:19:15 +02:00
Steffen Schaefer
37bce27537
Bug 4339: Added an additional note about IE driver problems and versions
...
to use
2018-07-23 13:18:01 +02:00
Steffen Schaefer
afe342623b
Bug 4339: Workaround for Selenium tests failing non-deterministically in
...
IE due to the zoom level automatically changing
2018-07-23 13:08:55 +02:00
Steffen Schaefer
6a8d517b8f
Bug 4339: Described in more detail how to update Selenium
2018-07-23 11:41:50 +02:00
Steffen Schaefer
daaf2f0bdf
Bug 4339: With the new Selenium setup, maximizing the browser is now
...
done automatically
2018-07-23 11:41:28 +02:00
Steffen Schaefer
ae4591d5c7
Bug 4339: Removed unused description on how to set up chrome on Amazon
...
Linux (it never worked reliably and we now use Ubuntu)
2018-07-23 11:32:01 +02:00
Steffen Schaefer
45ad7b5e7e
Bug 4339: fixed a potential failure due to webdriver implementations
...
that do not support maximizing the browser window
2018-07-23 11:22:03 +02:00
Steffen Schaefer
d09b3899e5
Bug 4339: Using consistent versions to reference selenium
2018-07-23 10:58:45 +02:00
Steffen Schaefer
f74c498111
Merge branch 'master' into bug4339
2018-07-23 09:10:16 +02:00
Steffen Schaefer
be775edba9
Bug 4661: Added release notes
2018-07-23 09:01:10 +02:00
Steffen Schaefer
91298d8ba4
Merge branch 'bug4675'
2018-07-23 08:35:17 +02:00
Steffen Schaefer
0226cab85a
Bug 4339: Using java.util.function.Function instead of the guava one
2018-07-20 16:42:28 +02:00
Steffen Schaefer
aa4614cc1b
Merge branch 'bug4675' into bug4339
...
Conflicts:
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/autoplay/AutoPlayLeaderboardView.java
2018-07-20 16:41:41 +02:00
Steffen Schaefer
4cf7d27c84
Bug 4675: Changes to make the AutoPlay test robust regarding auto update
...
of the leaderboard table
2018-07-20 16:35:03 +02:00
Steffen Schaefer
ea453abd42
Bug 4675: Waiting for the leaderboard in AutoPlay does not work in all
...
cases because the auto-zoom can break this too. With this change we do
not wait for the leaderboard table anymore but the LeaderboardView to
get visible. With this change we can be sure that the leaderboard is
visible even if the auto zoom changes the size of the leaderboard table
while reading the view contents.
2018-07-20 16:27:53 +02:00
Steffen Schaefer
68f5c9bbcf
Merge branch 'master' into bug4339
2018-07-20 14:55:04 +02:00
Steffen Schaefer
0d00196f3d
Merge branch 'bug4675'
2018-07-20 14:37:38 +02:00
Steffen Schaefer
1716a40886
Merge branch 'bug4674'
2018-07-20 14:33:30 +02:00
Steffen Schaefer
1f9f94961d
Bug 4674: Minor CSS adjustment
2018-07-20 14:20:25 +02:00
Steffen Schaefer
b85c997837
Merge branch 'master' into bug4674
2018-07-20 14:05:18 +02:00
Steffen Schaefer
760eb92908
Merge branch 'bug4675' into bug4339
...
Conflicts:
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/PageObject.java
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/autoplay/AutoPlayLeaderboardView.java
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/leaderboard/LeaderboardTablePO.java
2018-07-20 13:35:06 +02:00
Steffen Schaefer
22adfced0a
Bug 4675: Ensures that the leaderboard table is visible including data
...
before doing further asserts
2018-07-20 13:10:05 +02:00
Steffen Schaefer
1b9a6cdc51
Bug 4675: Waiting for table data is useful for other tests too
2018-07-20 13:00:36 +02:00
Steffen Schaefer
b0d0b88a83
Bug 4339: Using java.util.function.Function instead of the guava one
...
with Selenium 3
2018-07-20 09:20:50 +02:00
Steffen Schaefer
0b02783cb3
Merge branch 'bug4675' into bug4339
...
Conflicts:
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/leaderboard/LeaderboardTablePO.java
2018-07-20 09:19:33 +02:00
Steffen Schaefer
6e046c7e29
Bug 4339: Using a better performing solution to wait for data in the
...
leaderboard table
2018-07-20 09:09:16 +02:00
Steffen Schaefer
cfd87fcf33
Bug 4339: In AutoPlay test wait for the leaderboard to be completely
...
visible (animation) to make further checks to not fail due to parts
being invisible
2018-07-20 09:08:08 +02:00
Steffen Schaefer
5a76557faf
Bug 4339: Ensures consistent versions in OSGi and Maven
2018-07-20 08:08:52 +02:00
Steffen Schaefer
ec04b89443
Bug 4339: Updated documentation
2018-07-19 17:57:32 +02:00
Steffen Schaefer
36822bdc61
Bug 4339: Updated to Selenium 3.13
2018-07-19 17:57:30 +02:00
Steffen Schaefer
822b35d516
Bug 4339: Trying to fix selenium tests regarding RaceBoard settings. It
...
seems not all WebDriver implementations support the command "rect" yet.
2018-07-19 16:47:08 +02:00
Steffen Schaefer
663a07121e
Bug 4339: Fixed wait to work with Selenium 3.x
2018-07-19 16:37:27 +02:00
Steffen Schaefer
621c92553c
Merge branch 'bug4675' into bug4339
2018-07-19 16:31:50 +02:00
Steffen Schaefer
3ed22654e7
Bug 4675: Fixed another edge case potentially causing AutoPlay selenium
...
test to fail non deterministically
2018-07-19 16:19:52 +02:00
Steffen Schaefer
46c2d99774
Merge branch 'master' into bug4675
2018-07-19 16:12:01 +02:00
Steffen Schaefer
eaef7c8287
Bug 4675: Removed unintentionally committed @Ignore
2018-07-19 16:11:44 +02:00
Steffen Schaefer
0d20ca2bec
Merge branch 'bug4661'
2018-07-19 16:07:16 +02:00
Steffen Schaefer
75c3b797f8
Bug 4339: When creating a regatta, the dialog asking to create a
...
leaderboard isn't opened synchronously. This failed due to faster test
execution with the new selenium version. This change ensures waiting for
the dialog to open instead of assuming it is opened.
2018-07-19 16:05:43 +02:00
Steffen Schaefer
7dfdc6a786
Bug 4339: Using java.util.function.Function instead of the google.common
...
one for the newer Selenium version
2018-07-19 15:34:34 +02:00
Steffen Schaefer
a6103ed3e4
Merge branch 'bug4675' into bug4339
2018-07-19 15:27:33 +02:00
Steffen Schaefer
b407b88415
Bug 4675: Fixed a bug that caused the 60" test due to bad timing
2018-07-19 15:23:31 +02:00
Steffen Schaefer
6ade8e8057
Merge branch 'master' into bug4339
2018-07-19 14:07:58 +02:00
Steffen Schaefer
ea92ee34cb
Bug 4661: Ensures that having more wins that required also counts as
...
overall winner. If more than one competitor reached the requires wins,
the one with more wins will be ranked better.
2018-07-19 10:44:06 +02:00
Steffen Schaefer
2580435a52
Bug 4661: Extended the JavaDocs of LowPointFirstToWinTwoRaces to explain
...
all special rules compared to the default LowPoint rules
2018-07-19 10:36:45 +02:00
Steffen Schaefer
f9d3d16f4b
Bug 4661: JavaDoc and method naming improvements
2018-07-19 10:13:52 +02:00
Steffen Schaefer
0d9775fc5c
Bug 4661: Handles the special case when two competitors reach the target
...
amount of wins necessary. This could e.g. occur while editing score
corrections.
2018-07-19 10:05:15 +02:00
Steffen Schaefer
c229c6ef85
Added handling of sharding context to GetMiniOverallLeaderbordAction
2018-07-18 15:34:38 +02:00
Steffen Schaefer
5efe0ee7d7
Bug 4661: Added JavaDocs
2018-07-18 12:52:29 +02:00
Steffen Schaefer
2c5a5f0c7b
Bug 4661: Added JavaDocs
2018-07-18 10:18:04 +02:00
Steffen Schaefer
7c94812594
Bug 4652: Removed temporary debug logging
2018-07-18 09:15:26 +02:00
Steffen Schaefer
33617799a1
Bug 4652: Implemented the possibility to rank competitors by carry
...
forward and the last race in medal series
2018-07-18 09:15:05 +02:00
Steffen Schaefer
6d5cd22980
Bug 4661: JavaDoc improvements
2018-07-17 16:33:37 +02:00