Commit Graph
1599 Commits
Author SHA1 Message Date
Axel Uhl a960398cd3 bug6241: clarify that runWhenPolarLoadingFinishedFor waits for a global drain
The Javadoc on PolarDataService.runWhenPolarLoadingFinishedFor (interface),
PolarDataMiner (impl) and the RacingEventServiceImpl.scheduleWindEstimationInstallation
caller all read as if the callback fired once the fixes belonging to the given
race had drained. In reality the loading pipeline (preFilteringProcessorForLoadedFixes)
is shared across all races and has no per-race completion tracking, so the
callback fires only on a global drain: when the fixes of every race ingested so
far have been processed.

The race parameter does not scope the wait; it only gates WHEN the callback may
attach to the shared drain, via two conditions that must both hold: (1) the
race's own fixes have been ingested (so the callback can't fire on a pipeline
that is merely momentarily idle before this race was queued), and (2)
markLoadingOfAllRacesToRestoreStarted() has been signalled (so an idle window
between two startup races' ingestion bursts isn't mistaken for a real drain).

This global-wait behavior is deliberate: we want the polar model to reflect all
loaded data before any maneuver-based wind estimation is installed, and we accept
the resulting startup sequentiality (an early race's estimator install waits
behind the whole loaded-fix backlog). Documentation only; no behavior change.
The method name is kept as-is.
2026-08-04 14:54:20 +02:00
Axel Uhl b3970a8007 simplified SpeedWithBearing implementations by defaulting travelTo; avoid NPE 2026-07-07 18:17:48 +02:00
Axel Uhl 2e48a95026 to stabilize TestConnectorsResultImportUrls, catch StaleElementReferenceException;
when this exception is thrown, catch it and return null for the table
entry looked for; this is intended to cause the waitUntil method to try
again instead of failing with the exception
2026-06-29 16:46:43 +02:00
Axel Uhl 751e0ebbe6 bug6266 aftermath: fixed typo in comment 2026-06-29 12:12:59 +02:00
Axel Uhl dc19890c81 make score correction URL inline delete test more robust;
adding a 1s sleep shall overcome what probably are event
loop timing issues in an asynchronous GWT RPC
communication and redraw/update cycle.
2026-06-29 00:43:34 +02:00
Axel Uhl 2d1807259b copy attachments files to the destination folder 2026-06-28 00:58:23 +02:00
Axel Uhl 2f9fd7fb2b use attachment paths relative to build workspace root 2026-06-28 00:48:11 +02:00
Axel Uhl 36e86f6bf5 consolidated imports to avoid unused warning after no longer using nio Paths 2026-06-27 21:12:38 +02:00
Axel Uhl 58668ec066 flush System.out/err for ATTACHMENT output to arrive in Surefire 2026-06-27 16:10:38 +02:00
Axel Uhl acd374263e further improved JUnit attachment output 2026-06-27 10:41:04 +02:00
Axel Uhl 65f7ed9b53 further refined screenshot folder handling for ATTACHMENT output 2026-06-27 10:33:09 +02:00
Axel Uhl f0431f7f80 output JUnit attachments (screenshots) with relative paths to work with Jenkins 2026-06-27 10:17:36 +02:00
Masha Kashirina 96fa4548b4 bug6251: sel test fix overlay problem 2026-06-12 14:13:03 +02:00
Masha Kashirina ecd6e7f905 bug6251: selenium fix 2026-06-10 14:52:16 +02:00
masha.kashirina b5e89677b8 bug6251: selenium test impl 2026-06-07 14:46:32 +02:00
masha.kashirina 78ebd14d05 bug6239: sel test fix 2026-05-23 15:39:07 +02:00
masha.kashirina 236506a239 bug6239: fix roles rows removal bug 2026-05-19 18:08:08 +02:00
Axel Uhl c2c083fac0 make result import Selenium test more robust by waiting for AJAX requests 2026-04-15 18:12:33 +02:00
Axel Uhl b2e4e7298a Merge branch 'main' into bug5959 2026-03-07 22:45:42 +01:00
Axel Uhl 22f180cee1 bug6215: moving Speed, Position, Bearing, Weigher and others to SSE; GWT CFSs not done yet 2026-03-03 17:30:56 +01:00
Axel Uhl 1b406d97ec Merge branch 'bug6209' into bug5959 2026-03-03 00:55:55 +01:00
Axel Uhl d6f34046d7 bug6209: for Selenium tests, set igtimi.base.url system property to http://127.0.0.1:8085 which is the configured Jetty port for the runtime 2026-03-02 21:09:04 +01:00
Axel Uhl 59bf7cd05a Merge branch 'main' into bug5959 2026-01-20 16:20:16 +01:00
Axel Uhl 9b9f79561d avoid "Info" problem being created for local-test-environment.xml for a "NOTE:" comment 2025-12-27 23:41:34 +01:00
Axel Uhl 195b78e63f Merge branch 'main' into bug5959 2025-12-03 16:42:46 +01:00
Sohaib Baig bbd1f10f3e Merge branch 'bug6148' 2025-12-01 15:36:11 +01:00
Axel Uhl 7534ece40a Merge branch 'main' into bug5959 2025-12-01 10:42:39 +01:00
Axel Uhl c614f17408 formatting 2025-11-27 11:29:49 +01:00
Sohaib Baig c11a113412 bugfix: extended locking duration for unlockUser test
Locally, the lock duration was not long enough to last until the admin
logged in to unlock them. This bypassed the need to interact with a
dialog locally, and so the test was still succeeding even after an
interaction command for this dialog was removed. This duration was long
enough for the server however, and so the dialog demanding interaction
would appear and crash the test. The expected lock duration has been
extended by trigger +1 failed login attempts as well as the dialog
interact.
2025-11-26 16:05:44 +01:00
Sohaib Baig 499713d04d bugfix: testUnlockUser blocked by popup dialog
Popup dialog replaced with toast notification for success. Although the
reason behind this bug is yet not understood because the dialog should
have been accepted by the corresponding method in the PO, as it has done
before, replacing it with a toast notification should nevertheless
remove the possibility of it happening again.
2025-11-25 17:44:07 +01:00
Axel Uhl c07f4d3432 bug5959: for test case, explicitly trigger maneuver re-calculation 2025-11-22 01:23:24 +01:00
Sohaib Baig 372e97235b Merge branch 'main' into bug6148 2025-11-21 13:08:43 +01:00
masha.kashirina 75ab8a6016 bug6060: small selenium test fix -> now solutions are shown when whitelabeled 2025-11-19 14:46:10 +01:00
Sohaib Baig fe764614b1 Merge branch 'main' into bug6148 2025-11-13 13:37:06 +01:00
Sohaib Baig fd91cb0922 forgot to add changes to previous commit 2025-11-13 13:21:15 +01:00
masha.kashirina 03465ad67d bug6060: merge main 2025-11-13 10:16:39 +01:00
Axel Uhl 1bf3bee657 bug6170: added filesfor local Docker-based Selenium tests 2025-11-10 23:44:28 +01:00
Axel Uhl 199643126c bug6170: add TracTrac API token setting in Selenium tests 2025-11-10 23:26:20 +01:00
Sohaib Baig 6f1a55c1fa unlock a selection of users from the user management panel
A method was exposed from UserManagementWriteService for bulk unlocking
a selection of users by their username. An 'extra' property was added to
successInfo class to return usernames without disturbing GWT
serialization. corresponding test is also written.

In SecurityServiceImpl, the
UserManagementException.PASSWORD_AUTHENTICATION_CURRENTLY_LOCKED_FOR_USER
property is used to return an error message with a constant referrable
string that is checked against a condition elsewhere in the code. I had
caused issues in the code by replacing this referenced string with a
custom error message without accounting for its usage elsewhere, causing
faults. This has been reversed.
2025-11-10 16:58:08 +01:00
Axel Uhl d57dbacba3 bug6060: adjusted WhitelabelTest to What's New and Legal Disclosure now being shown also in de-branded mode 2025-11-04 23:55:32 +01:00
masha.kashirina 92e3a4f177 Merge branch 'main' into bug6060 2025-10-31 15:30:59 +01:00
Sohaib Baig db76d70af5 Merge branch 'main' into bug6148 2025-10-29 16:35:32 +01:00
Sohaib Baig 5fdf9c3b33 bug fixes for user creation fail2ban impl and test
fail2ban didn't extend the lock when a lock already existed on said IP. this was remedied. the test failed because selenium was looking for a component using the driver, so from the head of the tree, instead of from the webelement, which was at a specific lower point in the element tree and thus is unaffected by selenium IDs being similar. the findElement is now done from a method on the webelement.
2025-10-27 19:37:22 +01:00
Axel Uhl 1eda5361b9 bug6172: be more defensive with quitting the WebDriver, catching exception 2025-10-27 15:28:10 +01:00
Axel Uhl f1749f4671 bug6172: added missing null check in WindowManager.closeAllWindows() 2025-10-27 10:50:46 +01:00
Axel Uhl 7faa24bbda bug6172: try to quit() the Selenium web driver properly when closing all windows 2025-10-27 10:44:20 +01:00
Sohaib Baig 879b360d71 added tests, user creation abuse blocklist 2025-10-25 18:27:08 +02:00
Axel Uhl 1f8b3173cd Merge branch 'main' into bug6060 2025-10-24 17:57:48 +02:00
Axel Uhl 638567b80b extend wait time in SimulatorOverlayTest from 10 to 30s to allow for slower runners 2025-10-24 00:30:09 +02:00
Sohaib Baig 180d221e57 fix: missed import 2025-10-09 10:47:09 +02:00