[MGNLTEST-311] UI tests can run locally without the need to locally change .env and docker file(s) Created: 03/Oct/22 Updated: 16/Nov/23 |
|
| Status: | Selected |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | TAE | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Epic Link: | TAE-build-or-infra-tasks | ||||||||
| Team: | |||||||||
| Work Started: | |||||||||
| Description |
ContextDevelopers 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:
Developer notesPossible solutions
|
| Comments |
| Comment by Christoph Meier [ 17/Oct/22 ] |
|
Idea: Use a maven profile which runs a maven-plugin to execute the docker-compose. Profile can execute for
Plugin: https://github.com/fabric8io/docker-maven-plugin Plugin runs in the phase "pre-integration-bla" of maven. |