Marcial Rosales
1c1e4515f7
Deprecate uaa settings from management plugin
2023-04-13 11:22:05 +02:00
Marcial Rosales
829d9d9428
Read JWT token from Authorization Header
2023-04-04 12:00:08 +04:00
Marcial Rosales
67b952c28c
Refactor selenium tests
2023-03-21 12:39:28 +01:00
Marcial Rosales
42b821f0e9
Add missing pem file
2023-02-28 14:10:00 +01:00
Marcial Rosales
efb1b5bd10
Fix 2549
...
Allow list of preferred_username_claims in cuttlefish
config style.
Use new config style on two selenium test suites
Test oauth2 backend's config schema and oauth2 management
config schema
2023-02-28 10:38:28 +01:00
Marcial Rosales
89ee77e5ec
Improve how to look for elements and wait for them
2023-02-21 13:07:37 +01:00
Marcial Rosales
6e84444059
Test token refresh
...
And enable hard session timeout which was
disabled by mistake when moved credentials
from cookies to local storage
2023-01-03 07:09:04 -05:00
Marcial Rosales
bf172af236
Do not use cookies to store basic auth
...
Use window.localStorage. If it is disabled
Management UI should stop working rather than
falling back to cookies
2023-01-03 07:09:03 -05:00
Marcial Rosales
54acf88210
Support path_prefix in /login url
...
For OAuth2 idp initiated logon
2023-01-03 07:09:02 -05:00
Marcial Rosales
9354397cbf
Support Idp initiated logon in mgt ui with Oauth
...
Configure preferred username from a token
Make client_secret optional
2023-01-03 07:09:00 -05:00
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