[MGNLSSO-19] Integration tests with Docker Keycloak and new UI test framework Created: 27/Feb/20 Updated: 24/Sep/20 Resolved: 21/Sep/20 |
|
| Status: | Closed |
| Project: | Single Sign On |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.2 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Maxime Michel | Assignee: | Maxime Michel |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||||||
| Description |
|
Do a docker-compose setup with Keycloak and Magnolia + the refactored SSO module (using the webapp-wizard). Then test:
|
| Comments |
| Comment by Maxime Michel [ 03/Mar/20 ] |
|
To be able to leverage the new page object based UI test framework nicely (without hacks), this ticket would depend on the two linked tickets. |
| Comment by Maxime Michel [ 03/Mar/20 ] |
|
https://git.magnolia-cms.com/projects/INTERNAL/repos/sso-openid-connect/commits/a59b1240e9594d68fd8c987a8b7bc74d43000c30 shows what I've done so far:
I could get this setup to run, which is a good start. But it would now be time to write tests, for instance:
|
| Comment by Maxime Michel [ 31/Mar/20 ] |
|
After REST Assured was suggested to me instead of the full-blown UI test framework (not available at this time), I realized that going through the actual Keycloak login page is actually a requirement here. Authenticating over REST to access a protected web service such as Magnolia might be possible but is not something that is clearly supported, from what I could see. Therefore, this ticket is on hold until |