Commit Graph
767 Commits
Author SHA1 Message Date
Axel Uhl b351d52248 new authentication for Selenium tests after RESTlets no longer produce JSESSIONID sessions;
a CreateSessionServlet has been added to the /sailingserver/test-support
context which is only available during Selenium testing, together with
the clearState support

Change-Id: I792de0b62c5edbc0e403ac572e94fd208653575d
2019-02-06 22:08:29 +01:00
Axel Uhl 878e5d9dd2 upgraded the MongoDB driver to version 3.6.4; upgraded target platform
Change-Id: I621d4af6d3a3b0bcbf70310f731153cacfecebfc
2019-01-25 16:46:46 +01:00
Axel Uhl 5217493672 fixed typo in Selenium dependency on jax*b*dependencyfragment
Change-Id: I59f4f531d9b652291406aa3a4857e985ecd0fb56
2018-12-15 19:23:06 +01:00
Axel Uhl ec7aea5b0d added com.sap.sse.jersey.jaxbdependencyfragment to java/pom.xml; don't autostart fragments but require them for Selenium
Change-Id: Ic2ea61e6854bc8c12f6e85a9c1941d899a3f3331
2018-12-15 16:20:41 +01:00
Axel Uhl 05b2138fb6 added new bundles and fragments to Selenium launch config
Change-Id: If01e55e2ef7ab0a5dc43a7d708a43402c0563244
2018-12-15 12:18:58 +01:00
Axel Uhl 45a0ecdb77 made ScreenShotRule use TestWatcher to comply with new JUnit version
Change-Id: I6ef64ca454fe0fe17317fd702b318661fe2a6b53
2018-12-10 16:47:47 +01:00
Axel Uhl 4dd9f10e2c removed further deprecations by switching imports from junit.* to org.junit 2018-12-10 03:46:28 +01:00
Axel Uhl d8c2cf8cd3 upgraded target platform to newer MongoDB driver from org.eclipse.orbit;
A 3.x driver is required to connect to Microsoft Azure Cosmos. Upgrading
the target platform accordingly requires further upgrades, including Hamcrest
and JUnit libraries. This, in turn, deprecates or obsoletes numerous APIs,
parts of which that caused compilation *errors* I've replaced by their new
counterparts. Several more warnings still remain and need to be tackled by
replacing the usages to their new counterparts.
2018-12-10 03:00:59 +01:00
Steffen Jacobs 2ea9eaa981 Bug 4693: fixed TimeOut-Exceptions occurring in DevMode while testing
RaceBoardPage caused by missing "codesrv" URL parameter
2018-08-06 14:06:02 +02:00
Steffen Schaefer 4ccf20116f Bug 4693: Updated selenium documentation regarding IE11 2018-08-03 10:10:43 +02:00
Steffen Schaefer 285351e694 Bug 4693: Always creating a new WebDriver per test case 2018-08-03 09:17:09 +02:00
Kai Börnert ad46571ec6 Merge branch 'bug4693' of ssh://trac@sapsailing.com/home/trac/git into bug4693 2018-08-02 13:36:33 +02:00
Kai Börnert c780d0f3a5 bug4693 in some rare cases, the test are faster than the data loads in
the table, wait for the data
2018-08-02 13:31:39 +02:00
Steffen Schaefer 01fdcfe1ba Bug 4693: We solved the incompatibilities with IEDriverServer 3.13.
Removed notes about this from local-test-environment.xml
2018-08-02 11:10:53 +02:00
Kai Börnert 6131d621ac bug4693 removed leftover variable 2018-08-02 08:52:28 +02:00
Kai Börnert 72571b00a3 bug4693 fix for ie11 not reliably interacting with stale adminconsole 2018-08-02 08:49:04 +02:00
Kai Börnert 29d28bf22b bug4693 improved reliability of leaderboard refresh button useage 2018-08-01 14:54:19 +02:00
Kai Börnert fe734eb523 bug4693 wrong webdriver was used in setUpAuthenticatedSession, causing
issues for multi window tests
2018-08-01 11:54:05 +02:00
Kai Börnert d858149682 bug4695 fixed an issue with ie11 not hitting a checkbox 2018-08-01 11:16:58 +02:00
Steffen Schaefer 391d55a145 Bug 4693: Fixed ConcurrentModificationException introduced during a
recent refactoring
2018-08-01 08:43:03 +02:00
Steffen Schaefer f542068d66 Merge branch 'bug4339' into bug4693 2018-07-31 15:40:04 +02:00
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 81507e6ec7 Bug 4693: Added TODO 2018-07-31 14:17:29 +02:00
Steffen Schaefer 6942e8ac8f Merge branch 'bug4339' into bug4693
Conflicts:
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/AbstractSeleniumTest.java
2018-07-31 13:32:35 +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 e98e425315 Bug 4693: It seems that ie.ensureCleanSession does not ensure a clean
session for each test. That's why we need to manually delete the session
cookie.
2018-07-31 12:38:59 +02:00
Steffen Schaefer cc60075b64 Merge branch 'bug4339' into bug4693 2018-07-31 11:23:36 +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 d4a6e9b68f Bug 4693: Always starting with a clean session in Selenium tests on IE 2018-07-31 10:39:40 +02:00
Steffen Schaefer 1442532e69 Bug 4693: Fixed test failure that is caused while a CellTable is just
updating
2018-07-31 09:52:54 +02:00
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 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 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