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
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
Riccardo Nimser
19b7a220c0
Updated ui tests tutorial (markdown)
2014-02-03 11:50:26 +00:00
Riccardo Nimser
bbc16df205
Updated selenium ui tests (markdown)
2014-02-03 11:42:17 +00:00
Riccardo Nimser
11be76097d
Updated selenium ui tests (markdown)
2014-02-03 11:34:38 +00:00
Riccardo Nimser
3f4a19525f
Updated selenium ui tests (markdown)
2014-02-03 11:26:18 +00:00
D049941
2cf6e3e104
All page objects renamed (with suffix PO) to make it easier to
...
differentiate between classes in our GWT projec and page objects.
2014-02-03 12:22:20 +01:00
D049941
361bc7bcd7
Selenium updated to version 2.39.0
2014-02-02 15:15:14 +01:00
Riccardo Nimser
9021e4e87b
Updated selenium ui tests (markdown)
2014-01-30 12:00:18 +00:00
Riccardo Nimser
8794912d51
Updated selenium ui tests (markdown)
2014-01-30 11:59:21 +00:00
Riccardo Nimser
b591a44bdd
Updated ui tests tutorial (markdown)
2014-01-30 11:31:46 +00:00
Riccardo Nimser
5be76d46c3
Updated ui tests tutorial (markdown)
2014-01-30 11:30:58 +00:00
Riccardo Nimser
f446ecbda3
Updated ui tests tutorial (markdown)
2014-01-30 11:25:08 +00:00
Riccardo Nimser
2f10b38d10
Updated ui tests tutorial (markdown)
2014-01-30 11:23:34 +00:00
Riccardo Nimser
4367fe5c91
Updated ui tests tutorial (markdown)
2014-01-30 11:16:58 +00:00
Riccardo Nimser
2dbcc0c688
Updated ui tests tutorial (markdown)
2014-01-30 10:59:07 +00:00
Riccardo Nimser
a54c8bd35a
Updated ui tests tutorial (markdown)
2014-01-30 10:59:05 +00:00
Riccardo Nimser
b7f9771c57
Updated ui tests tutorial (markdown)
2014-01-30 10:50:39 +00:00
Riccardo Nimser
58028956f2
Updated ui tests tutorial (markdown)
2014-01-30 10:19:50 +00:00
Riccardo Nimser
54af957093
Updated ui tests tutorial (markdown)
2014-01-30 10:15:32 +00:00
Riccardo Nimser
c821affed9
Updated ui tests tutorial (markdown)
2014-01-30 10:14:46 +00:00
Riccardo Nimser
62f2598dfa
Updated ui tests tutorial (markdown)
2014-01-30 10:14:20 +00:00
Riccardo Nimser
0794e9698b
Updated ui tests tutorial (markdown)
2014-01-30 10:12:17 +00:00
Riccardo Nimser
9324cde20d
Updated ui tests tutorial (markdown)
2014-01-30 10:10:25 +00:00
Riccardo Nimser
7c7652dfd6
Updated ui tests tutorial (markdown)
2014-01-30 10:01:50 +00:00
Riccardo Nimser
3b530e0d73
Updated ui tests tutorial (markdown)
2014-01-30 10:00:56 +00:00
Riccardo Nimser
0111c11b07
Updated ui tests tutorial (markdown)
2014-01-30 09:56:01 +00:00
Riccardo Nimser
431a6769b1
Updated ui tests tutorial (markdown)
2014-01-30 09:55:28 +00:00
Riccardo Nimser
b2a3943469
Updated ui tests tutorial (markdown)
2014-01-30 09:55:02 +00: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
a318945be7
Method clearState implemented and launch-configurations added, which use
...
the database for tests (winddbTest).
The launch-configurations also include the gateway bundle for the test
support and have to be used for the local execution of UI-tests.
2013-12-22 20:24:12 +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