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

UI tests can run locally without the need to locally change .env and docker file(s)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None

    Description

      Context

      Developers can run UI tests locally - if they want. At least when developing test-fwk features this makes a lot of sense.

      When apple M1-silicon machines appeared, initially we could not run UI tests, chromedriver was not properly supported. But now we can - see https://wiki.magnolia-cms.com/display/DEV/Running+UI-tests+with+M1+and+M2+Macbooks 

      However, developers with machines with M1 or M2 silicon, the need to adapt the .env file and the docker file (see linked WIKI page above).

      Taks:

      Provide a script or the like e.g. in .profile and if necessary adapt .env and docker files to set proper context automatically - when running UI-tests locally - independent whether it runs on Intel or apple silicon.

      Ideally we find a solution which will work for:

      • test-fwk
      • ce
      • dx-core
      • ...

      Developer notes

      Possible solutions

      • bash script to "start" the procedure
        • specifying the proper values for the env params
        • then calling the docker file
      • get rid of .env file
        • to be replaced with a (simple) CLI tool

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                cmeier Christoph Meier
                Foundation
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Work Started:

                  Checklists

                    Task DoD