Commit Graph
100 Commits
Author SHA1 Message Date
D049941 468cda2fd5 Initial implementation for page objects representing the different chart
types added.
2014-03-27 17:17:22 +01:00
D049941 4c1698b45b New tests added 2014-03-27 17:14:15 +01:00
D049941 29b3cf4aaa Small code cleanup 2014-03-27 17:13:03 +01:00
D049941 53117b7f4c Small refactoring performed 2014-03-27 17:10:44 +01:00
D049941 6ec526fb95 Handling of the Alert fixed 2014-03-27 17:08:23 +01:00
D049941 3b069f5c40 New methods added to rename or delete existing races 2014-03-27 17:07:38 +01:00
D049941 f1ccaa2b26 Debug identifiers added 2014-03-27 17:05:56 +01:00
D049941 915ff9b63d Parameter added to allow to focus new windows immediately 2014-03-27 17:04:52 +01:00
D049941 4c9c6be09d Handling for Alerts added 2014-03-27 17:01:58 +01:00
D049941 0377685548 The test uses a smaller leaderboard now because of a better performance. 2014-03-26 17:48:58 +01:00
D049941 5953fe7d5d Merge remote-tracking branch 'origin/master' into riccardo-selenium
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.server/SailingServer (Proxy, winddbTest).launch
2014-03-25 16:39:15 +01:00
D049941 51c17a7c39 Missing datamining bundle added 2014-03-24 14:28:58 +01:00
D049941 fb390d3652 Expected message corrected. We have failing test now, since there are
typing errors in the message text (missing space).
2014-03-24 14:27:18 +01:00
D049941 2a31acdc42 Merge remote-tracking branch 'origin/master'
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/leaderboard/LeaderboardEntryPoint.java
2014-03-24 13:30:04 +01:00
D049941 5e17a457d7 Missing required bundle "org.apache.commons.lang" added. 2014-03-24 13:12:20 +01:00
D049941 361f62169c New tests and page objects added 2014-03-21 18:31:06 +01:00
D049941 f389852558 New tests added 2014-03-21 18:30:11 +01:00
D049941 7cc7026414 Usage of new API (idntifiers for data entries) 2014-03-21 18:29:43 +01:00
D049941 8b2b20b843 We use the new method of the LeaderboardGroupConfigurationPanelPO now,
which accepts a String for the leaderboard to get its details.
2014-03-21 18:28:37 +01:00
D049941 7c9f00b455 New method getIdentifier added which simplifies the lookup of entries
and avoids duplicated code that is often used (iterating over all
entries to find some specific entries)
2014-03-21 18:25:33 +01:00
D049941 28961d375c Debug identifier corrected 2014-03-21 18:23:04 +01:00
D049941 cfed83ca10 Constand for background color added as well as a helper method to create
a XPath predicate which checks for style classes
2014-03-21 18:20:26 +01:00
D049941 c3483ae501 The method setRegattaForTracking also accepts a String now. 2014-03-21 18:19:03 +01:00
D049941 be64ed4967 We can wait for a given status now. 2014-03-21 18:17:17 +01:00
D049941 f1dcfae90e Add races changed from 1 ListBox to 2 ListBoxes due changes in the ui. 2014-03-21 18:12:47 +01:00
D049941 e5a9f28fa7 Debug identifiers corrected 2014-03-21 18:11:26 +01:00
D049941 2c8e4c582e Condition in the script fixed. 2014-03-21 18:08:47 +01:00
D049941 125793504b Test support (MarkedAsyncCallback) added 2014-03-21 18:07:20 +01:00
D049941 787ffd0971 Selenium updated to version 2.40 and hamcrest bundle added to the
dependencies.
2014-03-21 15:50:41 +01:00
D049941 e2fe51829e Page object for GWT radio buttons added 2014-03-20 16:21:25 +01:00
D049941 7573774cfb Formatting problems fixed 2014-03-20 16:20:17 +01:00
D049941 91a291c268 Spelling errors and typos fixed. 2014-03-20 16:00:26 +01:00
D049941 d6ea413241 Initial test support to the leaderboard added. We also provide the class
DebugIdHelper to create a debug identifier for enum values or component
names.
2014-03-20 15:58:16 +01:00
D049941 b25e6503b3 Test support (MarkedAsyncCallback) to fillRegattas() added. 2014-03-20 15:44:21 +01:00
D049941 b27d364ac0 Launch configurations fixed 2014-03-14 15:52:37 +01:00
D049941 d122a1a0ea Removed the disabling of native events which was left over from Franks
changes.
2014-03-14 14:50:37 +01:00
D049941 cd6486e40d Files replaced with the version from origin/master and changes of Frank
reverted.
2014-03-14 14:12:28 +01:00
D049941 f7f52d6721 Merge remote-tracking branch 'origin/master' into riccardo-selenium
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/regattaoverview/RegattaOverviewPanel.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/gwt/CellTablePO.java
2014-03-13 18:38:28 +01:00
D049941 91bf896603 Documentation fixed. 2014-03-13 15:20:13 +01:00
D049941 df622b8e5e Condition added to wait that a specific number of AJAX requests has been
completed. We use this in test if requests a triggered automatically in
the background.
2014-03-13 15:04:31 +01:00
D049941 11bedba60c Changes of commit a3187c50c1 reverted,
since its an error if window.PENDING_AJAX_CALLS is null.

We also use arguments now instead of formatting the script code.
2014-03-13 15:02:19 +01:00
D049941 7afda1ccca Wait between the scrolling of tabs added to avoid occasional
timing/synchronization issues.
2014-03-13 14:58:26 +01:00
D049941 d3138df85e We have to provide null to click at the current cursor position 2014-03-13 14:55:12 +01:00
D049941 4e49ffc670 Refactoring as discussed.
- MarkedAsyncCallback is now a decorator for another AsyncCallback
- Simplification of the AsyncAction interface, which can be implemented
as anonymous class
- AsyncActionExecutor works with any implementation of AsyncAction now
and calls all necessary methods internal to realize the droping of
actions
- Support for categories of AJAX-requests which should be used for the
execution of AsyncActions
2014-03-13 14:46:41 +01:00
D049941 a7b2ffbed6 isElementUsable removed since Selenium already throws an exception if
you interact with an element that not displayed. In addition without
this check its easier to handle the case where a different widget is
displayed if no data is available (e.g. tracked races).
2014-02-18 15:04:32 +01:00
D049941 8f43bbe34d Unnecessary logging removed which was added before. 2014-02-18 15:00:05 +01:00
D049941 02df9e0dcf takeScreenshot removed which was added to find the reason for the
failing of the test.
2014-02-18 14:50:35 +01:00
D049941 334d717e1f Merge branch 'riccardo-selenium' 2014-02-18 10:12:00 +01:00
D049941 f05ccdda20 Merge remote-tracking branch 'origin/master' into riccardo-selenium
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT Remote Profiling.launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	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.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/shared/ListEditorComposite.java
2014-02-17 15:58:32 +01:00
D049941 91f1ab4b4f Constants sorted by "category" 2014-02-17 15:31:01 +01:00
D049941 1313a7d404 Use the table cell for the click instead of the row. 2014-02-15 19:05:09 +01:00
D049941 fb309c347b Logging added 2014-02-14 17:38:32 +01:00
D049941 0dbdf6cdeb Try to click a bit more inside the row for selecting 2014-02-14 17:31:52 +01:00
D049941 3c3e246ff3 We must always include the class name in the path for the attachments
plugin.
2014-02-14 17:31:15 +01:00
D049941 24b45e8681 New generator added 2014-02-14 17:30:25 +01:00
D049941 7ef2891248 Temporary test removed and 2 screenshots added to find the problem for
the failing of the test, since it works local.
2014-02-14 16:37:10 +01:00
D049941 4cda27e383 Wrap an IOException in a RuntimeException to avoid try catch blocks when
taken screenshots
2014-02-14 16:35:52 +01:00
D049941 cfc5aec2d5 The ScreenShotFilenameGenerator returns a String now, since it only
creates a name.
2014-02-14 16:32:22 +01:00
D049941 a9378c3f90 Removed the second class name again since we had to configure the job to
publish attachments. We also use the nio package now, which should allow
us to store the screenshots anywhere (e.g. FTP) as long as there exist a
FileSytem.
2014-02-14 16:27:33 +01:00
D049941 3dcd2a230e Added the class name twice to the path. 2014-02-14 15:49:29 +01:00
D049941 010282b664 We have to create the directory first before we can write the file.
This does not work with a URLConnection, so we should consider to
provide different implementations (classes) for storing a screenshot
based on a URL.
2014-02-14 15:03:08 +01:00
D049941 4acaf6ad6e Screenshot folder should point to the right directory now.
NOTE: The path differs for different build jobs.
2014-02-14 14:14:22 +01:00
D049941 e0e989e017 Support for variables in the definition for the screenshot folder added
to be able to define a path relative to the working directory.
2014-02-13 17:42:10 +01:00
D049941 f4cedb8df8 Slash removed for relative path and logging added to show the working
directory
2014-02-13 15:17:16 +01:00
D049941 5387d6394d Name of the test class added to the path since it's needed for the
attachment plugin.
2014-02-13 12:06:17 +01:00
D049941 fb536f09a2 Reason for the failing test hopefully fixed. 2014-02-13 11:28:18 +01:00
D049941 8f46a3830d Class variables renamed and a new one added to HostPage to differentiate
more between the timeout for the lookup of elements and the page load
timeout.
2014-02-13 11:27:42 +01:00
D049941 ee6614e0da Refresh without waiting for ajax request and wait only at the end 2014-02-13 10:32:09 +01:00
D049941 b84a22685c Logging corrected since we accessed a WebElement which is not useable at
this point in time
2014-02-13 03:49:41 +01:00
D049941 62b9f78714 Logging for screenshot folder 2014-02-13 03:19:29 +01:00
D049941 098832d875 Logging for screenshot path 2014-02-13 02:27:09 +01:00
D049941 ea5920e01e We use now an InputStream for the screenshot 2014-02-13 00:59:48 +01:00
D049941 ebcf45d491 Logging added 2014-02-13 00:22:54 +01:00
D049941 44224538fe Missing file protocol added 2014-02-12 19:57:14 +01:00
D049941 d8fdb0a55b Screenshots enabled to try the JUnit Attachments Plugin 2014-02-12 17:44:25 +01:00
D049941 c2ffa88708 Logging added to find the reason for the failing
testSimpleLeaderboardEditing test, which runs lokal.
2014-02-12 15:44:12 +01:00
D049941 a63ab370f2 Merge remote-tracking branch 'origin/riccardo-selenium' into riccardo-selenium 2014-02-12 14:13:00 +01:00
D049941 2ea1f98c19 Temporary test added. One test uses the tracked races list in the
"TracTrac Events" tab and the other the list in the "Tracked races" tab.
2014-02-12 13:53:30 +01:00
D049941 9760a7f47b AsyncCallback replaced with MarkedAsyncCallback to support UI tests. 2014-02-12 02:42:11 +01:00
D049941 1f9f70f785 Method toString added to produce a better exception message. 2014-02-11 21:07:21 +01:00
D049941 8c1a05ff39 Workaround added for clicking on a tab in the case the tab is not
completly visible.
2014-02-11 20:06:17 +01:00
D049941 552f91d99d Clear the state of the racing service before each test run. 2014-02-11 20:04:13 +01:00
D049941 101e09cc1a Window size logged to reproduce the failure local. 2014-02-11 18:36:23 +01:00
D049941 87f6300bf2 Check for style class removed since it is not the same for all tables. 2014-02-11 18:35:48 +01:00
D049941 2880cfd710 winddbTest added for the Ci-Build build. 2014-02-11 16:39:48 +01:00
D049941 a53440d27f Try to enable native events for the CI-Build 2014-02-11 16:37:13 +01:00
D049941 2422ed6314 More logging added. 2014-02-11 16:35:00 +01:00
D049941 d7cb042af9 Logging added to find the reason for the failing of a test case in the
build environment.
2014-02-11 15:12:39 +01:00
D049941 081d19395e Module com.sap.sailing.server.gateway.test.support added which was
missing.
2014-02-11 13:35:39 +01:00
D049941 af3a1d8759 Try to fixe the failing resolve of project dependencies. 2014-02-11 13:01:04 +01:00
D049941 84733f3ace Typing error fixed. 2014-02-11 12:06:38 +01:00
D049941 8796463410 Missing required bundles added. 2014-02-11 11:33:47 +01:00
D049941 5a031e8cfd Debug ids corrected. 2014-02-11 11:32:42 +01:00
D049941 5783f3ffde Missing pom.xml added. 2014-02-11 11:31:29 +01:00
D049941 05bd4fa22e Bundle com.sap.sailing.server.gatway.test.support explicit added to the
dependencies, since we only deploy it in the test environment.
2014-02-11 10:59:09 +01:00
D049941 9577657f9e Isssue with windStore fixed which was introduced during the creation of
the test support bundle.
2014-02-11 10:13:36 +01:00
D049941 ea47512811 Merge branch 'master' into riccardo-selenium
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/AbstractEventManagementPanel.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/AbstractTrackedRacesListComposite.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/FlexibleLeaderboardCreateDialog.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardGroupConfigPanel.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaListComposite.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/TracTracEventManagementPanel.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/TrackedRacesListComposite.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/panels/AbstractFilterablePanel.java
	java/com.sap.sailing.selenium.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.selenium.test/com.sap.sailing.selenium.test (No
Proxy, GWT Codesvr).launch
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/pages/AdminConsolePage.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/pages/FlexibleLeaderboardCreationDialog.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/pages/LeaderboardConfigurationPanel.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/pages/TracTracEventManagementPanel.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/gwt/widgets/CellTable.java
	java/org.openqa.selenium.osgi/build.properties
	java/org.openqa.selenium.osgi/selenium-java-2.39.0.jar
2014-02-11 09:39:27 +01:00
Riccardo Nimser d3c1ddec81 Updated ui tests tutorial (markdown) 2014-02-03 12:28:26 +00:00
Riccardo Nimser 0409f6d705 Updated selenium ui tests (markdown) 2014-02-03 12:24:27 +00:00
Riccardo Nimser 2f280ebecd Updated ui tests tutorial (markdown) 2014-02-03 11:51:09 +00:00