Commit Graph
277 Commits
Author SHA1 Message Date
Axel Uhl a3187c50c1 fixed waiting for async calls for the case there are none; first green trivial LeaderboardEditing Selenium UI test 2014-01-24 15:14:48 +01:00
Axel Uhl 203b52b6c4 switched to Selenium 2.39, started Selenium test for LeaderboardEditing.html 2014-01-24 13:46:47 +01:00
Axel Uhl 3ba5363e1b added datamining bundles to selenium's pom.xml 2014-01-21 00:13:30 +01:00
Axel Uhl 930ecf6b68 added com.sap.ssw.gwt to selenium.test's pom.xml 2014-01-20 22:59:55 +01:00
Axel Uhl 7169e600c5 after rename of xcelsiusadapter bundle to xmlexport, adjusted pom.xml in selenium project accordingly 2014-01-09 22:26:28 +01:00
D049941 818de01c3f New page objects and corresponding debug-ids added as well as some
refactoring of old ones for better maintainability.
2013-12-23 12:50:51 +01:00
D049941 218a7b28d7 Small code clean up. 2013-12-23 12:47:18 +01:00
D049941 f0e41796e9 Last problem with the scrolling fixed. We determine the needed mouse
position for the click now.
2013-12-20 17:47:50 +01:00
D049941 725011353b Selenium updated to version 2.38 which fixes an issue with the scrolling
in the administration console (incorrect return value of isDisplayed for
elements, which are hidden due the overflow attribute of the parent).
2013-12-20 13:38:30 +01:00
D049941 3a35ee4195 Methods for the navigation to other tabs added and scrolling fixed,
since we also have to be able to scroll to the left if a test navigates
between different tabs.
2013-12-19 15:36:14 +01:00
D049941 081e3add7f Helper method added, to clear the state of the SailingService. 2013-12-18 15:28:21 +01:00
D049941 32f2624ad8 Usage of the GWT-CodeServer simplified. The HostPage provides a method
now to determine the URL parameter for the code server.
2013-12-18 15:20:40 +01:00
D049941 3770632759 Test support for the SailingService added, which provides a method to
clear the state. This is necessary, since test needs a way to create a
well defined state.

The method is published via a Servlet. To avoid data loss, it is
protected by a check of the used database. Only if the database
winddbTest is used, the method call will be dispatched to the
SailingService.
2013-12-18 15:04:00 +01:00
D049941 7042482ddc New implementation for CellTables added which uses a generic approach,
as well as a small query framework.
2013-12-18 14:42:11 +01:00
D049941 7f9ee4495d Usage of constants in the method waitForAjaxRequests 2013-12-17 19:45:28 +01:00
D049941 4ab5dec643 SeleniumField decorator added, since the default implementation contains
a check, which prevents us from using our special annotation FinBy for
lists of WebElements.

In addition we have some static methods now to create FluentWaits.
2013-12-17 19:40:29 +01:00
D049941 668f41b26d We use a manager now to handle multiple browser windows. 2013-12-17 18:04:19 +01:00
D049941 ee10ccb091 Page Object moved into the new packages for a better structure, since
there will be a lot more Page Objects soon.
2013-12-17 16:51:53 +01:00
D049941 f55cff785d The DatabaseHelper was delete, since we can't use this approach to reset
the state of the SailingService.
2013-12-17 16:33:25 +01:00
Axel Uhl ac0075d4e4 added the Igtimi adapter bundle to the Selenium product launch configuration in pom.xml 2013-12-12 13:19:49 +01:00
Axel Uhl bdbe951f2a renamed Selenium launch config to fix typo 2013-12-12 12:04:39 +01:00
Axel Uhl ed7e1296e1 Merge branch 'master' into igtimi
Conflicts:
	java/com.sap.sailing.selenium.test/com.sap.sailing.selenium.test (No Proxy, GWT Codesvr.launch
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2013-12-12 12:03:02 +01:00
Axel Uhl b32ca16f98 fixed ci-test-environment.xml which was broken after undoing the merge of branch riccardo 2013-12-12 11:11:55 +01:00
Axel Uhl 215b37d0f2 fixed compile error after merge in AdminConsolePage; fixed location tag in race-analysis-p2-ide-p2admin.target 2013-12-12 10:34:54 +01:00
Axel Uhl 988eadf3de re-applying Lukas' fixes of the AdminConsolePage from commits up to 27526037c89fe8a47ad93d27ed7a53c112bb020c;
they were lost during Riccardo's merge around 04e7c3e5c0
2013-12-12 09:54:19 +01:00
Axel Uhl 411aa9d92b avoid warnings in Selenium bundle; removed hard-coded file system path for Firefox executable for Selenium tests 2013-12-12 09:24:57 +01:00
Axel Uhl 01f2edb2ae avoid warnings in Selenium bundle; removed hard-coded file system path for Firefox executable for Selenium tests 2013-12-11 00:22:06 +01:00
Axel Uhl 1fc4558dcb Merge branch 'master' into igtimi
Conflicts:
	java/com.sap.sailing.selenium.test/com.sap.sailing.selenium.test (No Proxy, GWT Codesvr).launch
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2013-12-10 21:27:45 +01:00
Axel Uhl 90ca13d266 re-added GWT debug mode launch config without proxy for Selenium tests 2013-12-10 21:07:35 +01:00
Axel Uhl 1d52672642 added a first version of an "Igtimi Accounts" panel that allows users to authorize access to one or more Igtimi users by the application 2013-12-10 21:06:26 +01:00
D049941 5b9d469d5b Merge branch 'master-for-merge'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/AdminConsoleEntryPoint.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaDetailsComposite.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaWithSeriesAndFleetsCreateDialog.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/SeriesEditDialog.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/SeriesWithFleetsCreateDialog.java
	java/com.sap.sailing.selenium.test/local-test-environment.xml
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/adminconsole/AdminConsolePage.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/TestStartAndStopTrackingForTracTracEvents.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2013-12-10 15:49:40 +01:00
D049941 2ceb84348f System.out.println removed 2013-12-09 13:05:46 +01:00
Axel Uhl 1efebeef57 Merge branch 'master' into racecommittee_app 2013-12-06 14:49:01 +01:00
Axel Uhl e0bd6ee179 added Selenium launch configs to launch with Codesvr enabled, forcing the Firefox "Selenium" profile 2013-12-05 11:13:26 +01:00
Axel Uhl afc98cfcc8 use firefox driver for local selenium tests by default 2013-12-05 11:02:26 +01:00
Lukas Niemeier 27526037c8 # trying the selenium fix 2013-12-03 00:14:54 +01:00
Lukas Niemeier 80ca7f6068 # another copy paste in selenium test 2013-12-02 21:58:45 +01:00
Lukas Niemeier 53990d8f3e # find by class name 2013-12-02 19:16:49 +01:00
Lukas Niemeier b1b7b2a17c added scrolling of AdminConsole to selenium test 2013-12-02 18:33:57 +01:00
Lukas Niemeier 92ac495f03 # removed empty test 2013-12-02 18:33:35 +01:00
Lukas Niemeier ff94013aad working selenium fix (yeah!) 2013-12-02 15:45:32 +01:00
Lukas Niemeier 6d0c561c72 selenium xpath... 2013-12-02 14:25:47 +01:00
D049941 09c17bb419 The method clearState throws an exception now if something went wrong to
automatically abort the test.
2013-12-02 13:27:51 +01:00
D049941 8d2df4d343 Old CellTable removed an new one renamed. 2013-12-02 12:59:30 +01:00
D049941 f228887e9c Warnings removed 2013-12-02 12:57:48 +01:00
Lukas Niemeier 2152f7a3c6 # another selenium fix (next try) 2013-12-02 12:15:01 +01:00
Lukas Niemeier 5afbd7381c # fix for selenium tests (TabLayoutPanel) 2013-12-02 10:50:08 +01:00
D049941 402180308e The test uses the clearState method now to have ensure a well defined
state. For this reason we don't need to delete old entries in the test
anymore.
2013-11-30 14:44:58 +01:00
D049941 b53305eccd Indentation changed to use spaces only and line endings changed to Unix. 2013-11-30 13:55:24 +01:00
D049941 66e4f86c1a SeleniumFieldDecorator added to fix an issue with the creation of the
proxy for annotated fields of the type List<WebElement>. The new class
is needed, since Seleniums default implementation performs a check
regarding valid annotations for this kind of fields, which is already
done in our ElementLocatorFactory.
2013-11-30 12:09:38 +01:00