Commit Graph
100 Commits
Author SHA1 Message Date
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
D049941 04e7c3e5c0 Merge remote-tracking branch 'origin' 2013-12-10 15:54:15 +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 be3aecf067 Bundle com.sap.sailing.server.gateway.test.support added to be able to
clear the state in tests.
2013-12-09 14:33:13 +01:00
D049941 3b1d491b65 Required bundles fixed. 2013-12-09 13:40:12 +01:00
D049941 984420ae06 Launch configuration with database 'winddbTest' added for the execution
of UI-Tests.
2013-12-09 13:11:47 +01:00
D049941 2ceb84348f System.out.println removed 2013-12-09 13:05:46 +01:00
D049941 9c3c8cfaf3 Merge branch 'riccardo' into 'master-for-merge'
Conflicts:
	java/com.sap.sailing.domain.igtimiadapter.persistence/src/com/sap/sailing/domain/igtimiadapter/persistence/impl/DomainObjectFactoryImpl.java
2013-12-09 13:00:58 +01:00
D049941 6df282edf7 Merge branch 'master' into riccardo2
Conflicts:
	configuration/udpsender.py
	configuration/udpserver.py
	java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/impl/NaturalComparator.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/common/test/NaturalComparatorTest.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/src/com/sap/sailing/selenium/test/DatabaseHelper.java
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on
8889).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Jetty on 8889).launch
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
	java/com.sap.sailing.simulator.test/src/com/sap/sailing/simulator/test/util/PolarDiagramPlotDataPolar.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagram49.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagram49Bethwaite.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagram49ORC.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagram49STG.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagram505STG.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagramCSV.java
2013-12-05 12:30:46 +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
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 7cd0a644f4 Since the MongoDBService is not registered as a service, we have to
access it directly.
2013-11-30 14:42:41 +01:00
D049941 95f0d74de6 RacingEventServiceWithTestSupport is also registered as a service now,
but it is only visible to the gateway bundle.
2013-11-30 14:40:55 +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
D049941 a1c301ed87 Creation for DataEntries via reflection fixed. 2013-11-30 12:02:50 +01:00
D049941 6a69a3bf8b Debug-Ids changed to match naming conventions. 2013-11-30 12:01:55 +01:00
D049941 7841c6c9c3 Missing accept for confirmation dialog added and type for finder-Method
corrected.
2013-11-30 12:01:09 +01:00
D049941 045c915ad8 Spelling of the Debug-Id fixed. 2013-11-30 11:58:27 +01:00
D049941 a53c6bf36b Missing Debug-Ids added 2013-11-30 11:58:03 +01:00
D049941 e810a8dd84 Debug-Id for dialog changed to match the naming convention. 2013-11-30 11:57:05 +01:00
D049941 70a070e4ea Clearing the state via the gateway is now only allowed for the test
database "winddbTest"!
2013-11-28 17:20:32 +01:00
Riccardo Nimser 2a345974eb Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
Riccardo Nimser 4d2351ba4b Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
Riccardo Nimser 8db03fa3db Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
Riccardo Nimser f749a5dfcd Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
Riccardo Nimser 9c75204047 Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
Riccardo Nimser 1b31cabb55 Updated ui tests tutorial (markdown) 2013-11-24 18:56:33 +01:00
D049941 69b7096b3d Merge remote-tracking branch 'origin/master' into riccardo
Conflicts:
	java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/dto/CompetitorDTOImpl.java
	java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/dto/PreviousCompetitorDTOImpl.java
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	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/AdminConsoleEntryPoint.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/RegattaListComposite.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/LeaderboardEntryPoint.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/LeaderboardPanel.java
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/impl/BoatClassJsonDeserializer.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
	java/com.sap.sailing.simulator.test/src/com/sap/sailing/simulator/test/util/RaceDataAccessEval.java
	java/com.sap.sailing.simulator.test/src/com/sap/sailing/simulator/test/util/RacingEventPersistence.java
	java/com.sap.sailing.simulator.test/src/com/sap/sailing/simulator/test/util/TracTracReaderFromURLs.java
	java/com.sap.sailing.simulator.test/src/com/sap/sailing/simulator/test/util/TracTracWriter.java
	java/target/stop
2013-11-22 16:15:07 +01:00
Riccardo Nimser 4b1e42c0ae Updated ui tests tutorial (markdown) 2013-11-22 15:34:05 +01:00
Riccardo Nimser 4ed30006f2 Updated ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser 00a4b20333 Updated ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser 47bcb962ba Updated ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser c60a3e8bc5 Updated ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser f9107f17e2 Updated ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser 23a151c421 Created ui tests tutorial (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser 99bc25fd4b Updated selenium ui tests (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser e05fc8a223 Updated selenium ui tests (markdown) 2013-11-22 15:34:04 +01:00
Riccardo Nimser 80591e5b5c Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser 82bd542e37 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser 4ec23a09c6 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser 13f180e915 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser f767cb1bf7 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser d35e28b1a2 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
Riccardo Nimser b60b31bf86 Updated selenium ui tests (markdown) 2013-11-21 10:29:03 +01:00
D049941 d6c27c389d Issue with bin.includes fixed. 2013-10-25 15:55:37 +02:00
D049941 84f6b5ec78 Selenium updated to version 2.37.0 2013-10-24 16:37:01 +02:00
D049941 983201e04a Merge remote-tracking branch 'external/master' into riccardo
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/LeaderboardPanel.java
	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/pages/TracTracEventManagementPanel.java
2013-10-24 15:52:16 +02:00
D049941 23c6343443 Some smaller changes like formatting and some refactoring. 2013-10-24 14:04:36 +02:00
D049941 66d5291523 New query/predicate framework added to easily retrieve entries from
tables or list, matching specific criterion. The framework uses dynamic
proxies to translate method call into expressions.
2013-10-24 14:02:05 +02:00
D049941 371aa4b0cf Small refactorings for the new CellTable page object and deprecation of
the old one.
2013-10-24 13:25:38 +02:00
D049941 77478e185c Method added to be able to retrieve the underlying WebElement. 2013-10-24 13:23:03 +02:00
D049941 eb22caaf4e Constants introduced which are used in the verify method instead of
inline strings.
2013-10-24 13:12:25 +02:00
D049941 bdabcd36d9 The database helper is removed, since we can't use it to get a well
defined state.
2013-09-13 18:34:35 +02:00
D049941 be4505860c First implementation for a new CellTable added, which should simplify
the handling.
2013-09-13 18:32:06 +02:00
D049941 529a310559 The Servlet for the test support is now used to reset the state of the
application.
2013-09-13 17:44:42 +02:00
D049941 5d42ed2b2f Class for the service tracker changed to the new interface. 2013-09-13 13:25:11 +02:00
D049941 fcfd11c334 Typing error fixed 2013-09-12 18:20:17 +02:00
D049941 6acb01339f New interface and bundle for test support added. The interface defines a
method to clear the state of the application (including persisted data)
and is used by the new bundle to create a well known state without any
data, except the default leaderboard.

Since this method should only be used in an isolated test environment,
the defining interface is only visible to the new bundle, which is not
deployed by default.
2013-09-12 17:42:25 +02:00
D049941 0f7ff74ef1 Renaming of some classes to match the naming of the GWT classes.
Furthermore a lot of new services were added to the age objects.
2013-09-05 17:33:17 +02:00
D049941 10e65e3f08 Debug mode for leaderboard added as well as debug ids for different
widgets.
2013-09-05 17:30:33 +02:00
D049941 a5f7f18b04 New Page Objects added and for older ones new services/functionality
added.
2013-08-30 18:02:34 +02:00
D049941 3441b54648 More Selenium Ids added 2013-08-30 17:59:53 +02:00
D049941 2bd3fa7cd7 New page objects added and changes to existing ones for new
functionality.
2013-08-28 17:37:17 +02:00
D049941 6d3d894f4e Selenium Ids added for different widgets. 2013-08-28 17:34:31 +02:00
D049941 63e8eb7b20 Manager for handling of different browser windows added. 2013-08-28 17:32:59 +02:00
D049941 7c79435bda New page objects added as well as refactoring of old page objects for a
better organization.
2013-08-23 15:36:57 +02:00
D049941 54d634ff8d Class for handling of multiple windows added. 2013-08-23 15:34:53 +02:00
D049941 faf3d7017c Debug-Ids for UI tests added 2013-08-23 15:34:02 +02:00
Riccardo Nimser 1174fef2b9 Updated selenium ui tests (markdown) 2013-08-08 16:09:34 +02:00
Riccardo Nimser 25de363cdb Updated selenium ui tests (markdown) 2013-08-08 15:58:27 +02:00
Riccardo Nimser 005e0be122 Updated selenium ui tests (markdown) 2013-08-08 15:54:51 +02:00
Riccardo Nimser 1055931cc2 Updated selenium ui tests (markdown) 2013-08-08 15:53:54 +02:00
Riccardo Nimser 2580d388db Updated selenium ui tests (markdown) 2013-08-08 15:46:09 +02:00
D049941 fa235ba221 New class added for the support of multiple browser windows. 2013-08-07 17:34:34 +02:00
D049941 1c4fa9f9c7 Dependency to Selenium updated to version 2.34.0 2013-08-07 17:33:17 +02:00
D049941 2259420e19 Commit 87a7dca066 reverted, since this
commit disables all integration tests in the CI-build.
2013-08-07 17:31:57 +02:00
D049941 4124714893 Selenium updated to version 2.34.0 2013-08-07 17:30:26 +02:00
D049941 89f275091e Merge remote-tracking branch 'origin/master' 2013-05-27 17:11:01 +02:00
D049941 252ef5734d Basic implementation for CellTable added to be able to delete existing
leaderboards. This is needed since we can't drop the database for tests
at the moment. Therefore we can't provide a well know state for tests
and tests have to perform all necessary steps to establish the
preconditions for the test.
2013-05-27 17:09:06 +02:00
D049941 98b32430cc Merge remote-tracking branch 'origin/master' into dropTestData 2013-05-16 11:14:19 +02:00
D049941 d59d35f06a Helper for dropping test data added. 2013-05-16 11:10:58 +02:00
D049941 8c2f1a398d Problems with the test fixed:
- Debug id for button was overwritten because of "Copy & Paste"
- Wrong search context was used for the dialog, since the parent of the
  dialog is the page and not the panel
- AsyncCallbacks exchanged with MarkedAsyncCallbacks and
  waitForAjaxRequests added in the page objects to wait for the requests
  to complete
2013-03-15 15:47:02 +01:00
D049941 30704e7931 Merge remote-tracking branch 'origin/master' 2013-01-22 16:03:49 +01:00
D049941 b81523f9c9 Renaming to avoid confusion. 2013-01-22 15:51:58 +01:00
D049941 562f088629 Merge remote-tracking branch 'origin/master' 2013-01-17 16:57:18 +01:00
D049941 c90c0c994f Merge remote-tracking branch 'origin/master' into integration_tests 2013-01-17 15:36:54 +01:00
D049941 15cc751975 Lot of documentation for API and tests added. Furthermore the
implementations for the support of categories of Ajax requests is almost
finished. It remains to add the support to the JavaScript in the file
'ajax-semaphore.js'.
2013-01-16 15:45:26 +01:00
D049941 8b0cb4f7c7 Small bug with the enabling of screenshot capturing fixed. 2013-01-08 16:53:05 +01:00
D049941 cd9301a43e Bundle for monitoring removed and port for Jetty changed as well as some
code cleanups and improvements.
2013-01-08 15:58:19 +01:00