-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
Host machine environment:
Linux version 5.3.0-53-generic (buildd@lgw01-amd64-016) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020
Magnolia build:
Version number : 6.2.2 (Snapshot: 2020.06.05 13:17:02)
Core version : 6.2.2-SNAPSHOT
Build : 5. June 2020 (rev. 3e3acc641d85efbb8b6c447d16abb59c1ccb53d1 of 285)
Edition : Community Edition
Host machine environment: Linux version 5.3.0-53-generic ( buildd@lgw01-amd64-016 ) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 Magnolia build: Version number : 6.2.2 (Snapshot: 2020.06.05 13:17:02) Core version : 6.2.2-SNAPSHOT Build : 5. June 2020 (rev. 3e3acc641d85efbb8b6c447d16abb59c1ccb53d1 of 285) Edition : Community Edition
Steps to reproduce
- Set up environment for running UI tests - either using `Hybrid docker setup` or `Fully docker setup` recipe.
- Run UI test e.g. info.magnolia.functionaltests.PagesCoreFunctionalTests from IDE using the test run instructions from ce/magnolia-integration-tests/tests/docs/ui-tests-setup-and-run-how-to.md
Actual behavior
The tests in the class fail to get executed because the VncSidekickContainer for recording tests does not get started up. A corresponding exception org.testcontainers.containers.ContainerLaunchException is also thrown. See the attached stacktrace for more details.
Expected behavior
Expect UI tests to run with recordings for the tests being stored in ce/magnolia-integration-tests/tests/target/failsafe-reports/recordings
Notes:
As a short term solution, consider disabling startup of VncSideKickContainer if the container startup fails. As a long term solution consider provisioning the VncSideKickContainer like the other containers part of the UI test run in a dockerized setup, and trigger only the start and stop of recording from the test-framework code. This makes the requirement of additional container more explicit, easier to use, and more deterministic.
- relates to
-
MGNLTEST-56 Enable "Docker-hybrid-setup" to run UI-tests locally
- Closed