Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-54

VncSideKickContainer startup failure on Linux host prevents UI tests from running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rdhar Rishab Dhar
                rdhar Rishab Dhar
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD