Commit Graph

23 Commits

Author SHA1 Message Date
Marcial Rosales edabd8816b Support multiple path segments in management path
Updated selenium tests to tests against 2 path
segments rather than just one
2022-10-04 16:43:18 +02:00
Marcial Rosales 4f3e5398f6 Improve wording of how to run selenium tests 2022-10-04 10:01:59 +02:00
Marcial Rosales bb9d7a134e Refactor how selenium suites are run 2022-10-03 13:15:57 +02:00
Michael Klishin dca7132dc3 management.oauth_enable => management.oauth_enabled 2022-09-02 00:16:13 +04:00
Marcial Rosales 0cbe370ec0 Fix bug in start-uaa.sh script
And capture screenshots on all test cases
on teardown if the test failed
Use headless chrome 104
2022-09-01 16:26:12 +01:00
Marcial Rosales da77481663 Wait till token TTL before checking again 2022-09-01 13:54:29 +01:00
Marcial Rosales 54464c0498 Logging improvements
Rather than logging directly via console.log
we do it via the Logger library provided by
oidc-client which allows to use logging levels
2022-09-01 13:53:42 +01:00
Marcial Rosales dbf5797107 Enable only 2 plugins not all 2022-09-01 13:50:11 +01:00
Marcial Rosales 81f612f8ff Test hard session timeout
When the management ui session times out
the user should be logged out also from
the idp
2022-08-30 17:53:44 +01:00
Marcial Rosales 0ce972da2e Refactor how selenium tests are run 2022-08-30 17:13:22 +01:00
Marcial Rosales e57b88f2b7 Fix logout workflow
The issue was primarily that UAA was
not properly configured. We had to whitelist
the uri used for logout otherwise UAA redirects
to its login page

WIP verify that logout.js works when running in
headless mode. For that we need a docker image
and at the moment, make docker-image is not
working because it is still using old otp 24.0.2
2022-08-30 17:11:21 +01:00
Marcial Rosales 7f14fa77f7 Skip logout selenium test 2022-08-30 17:11:21 +01:00
Marcial Rosales 9d599449e7 Run selenium tests with Actions 2022-08-30 17:11:20 +01:00
Marcial Rosales 99930e1fef Improve docs and fix some mistakes on the selenium tests 2022-08-30 17:11:20 +01:00
Marcial Rosales 1be9db3221 WIP prepare to run all tests
Waiting for the docker image to be pushed to repo
2022-08-30 17:11:19 +01:00
Marcial Rosales 33f14060c6 Comment why test last 20sec 2022-08-30 17:11:19 +01:00
Marcial Rosales 5c4e92ba25 Issue found on token refresh 2022-08-30 17:11:19 +01:00
Marcial Rosales c5d137121e Verify login,logout when uaa is up 2022-08-30 17:11:18 +01:00
Marcial Rosales 93cee6dede Verify happy-login scenario
With auto-approved scopes
2022-08-30 17:11:18 +01:00
Marcial Rosales f402f4a3bc WIP fixing test case happy-login.js using ObjectPages 2022-08-30 17:11:18 +01:00
Marcial Rosales 7e0adbbb1f Tested landing page
WIP: happy login scenario
2022-08-30 17:11:18 +01:00
Marcial Rosales 84e9f653e8 WIP Using PageObject pattern to write tests 2022-08-30 17:11:18 +01:00
Marcial Rosales 5fc370c88f WIP only landing.js working 2022-08-30 17:11:18 +01:00