-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
Context
The test-webapp of SSO integration tests is CE webapp at the moment, it's simple but have some drawbacks:
- Not fully cover the Dx-core modules/dependencies which could impact the SSO module
- The actual usage of SSO is Dx-core cause SSO is an enterprise module
To improve
Let's use Dx-core webapp for the tests, and there are some breakdown tasks:
- Create a new sub folder "integration-tests" and moved the existing "magnolia-sso-test-webapp" and "integration-test-helper" folders into it
- Update the magnolia-sso-test-webapp/pom.xml file to use DX-Core webapp instead
- add info.magnolia.test:test-license-provider for getting license
- Create new fixture module to set Magnolia license (reference: https://git.magnolia-cms.com/projects/PLATFORM/repos/dx-core/browse/integration-tests/magnolia-dx-core-test-fixture-module/src/main/java/info/magnolia/eetest/fixture/SetupStuffForEETests.java#61,72-75)
- use this for bootstrap files and SSO config instead of direct bootstrap files and light modules in magnolia-sso-test-webapp
- The integration test classes should work without changes
Acceptance criteria