Commit Graph

28 Commits

Author SHA1 Message Date
Marcial Rosales ccb0059cd4 Dynamically load oauth-related libraries 2024-06-20 12:42:32 -04:00
Michael Klishin 341f3daae9
Strip some trailing whitespace 2024-06-03 16:44:47 -04:00
Marcial Rosales 72ab1944bf Make end_session_endpoint configurable 2024-05-27 11:19:09 +02:00
Marcial Rosales 4323dcf120 Reproduce issue
Select not to refresh
2024-05-14 12:01:32 +02:00
Marcial Rosales 447effd455 Remove noisy log statement 2024-02-10 21:17:57 +01:00
Marcial Rosales 22aa5172b9 Fix issue waiting for oauth2 section 2024-02-10 20:12:20 +01:00
Marcial Rosales 16dbb5d77c Add tests to verify negative case 2024-02-10 20:12:18 +01:00
Marcial Rosales 1bdfb1f8f9 Apply part of fix from pr #10438
And update test case to ensure that
there are no warning popup shown
after the user logs in and/or visits
all the tabs
2024-02-10 20:12:11 +01:00
Marcial Rosales d69fc0e8b9 Fix unauthorized.js test 2024-02-10 20:12:10 +01:00
Marcial Rosales eaba7abb6d Fix bug checking if element was visible 2024-02-10 20:12:10 +01:00
Marcial Rosales 68a8de95ad Change strategy that checks if an element exists 2024-02-10 20:12:05 +01:00
Marcial Rosales d827b72ce1 Create Oauth2 client 2024-02-10 20:12:04 +01:00
Marcial Rosales 7c58649942 Reduce by 5 seconds every oauth2 test
clickToLogin sbould only check that the
login button exists and not that the
warning messages is not visible
2023-10-31 16:31:37 +01:00
Michael Klishin f54b2906bd More Selenium suite updates 2023-06-10 23:21:32 +04:00
Michael Klishin f4aed7a55e Make sure that nav element ids follow a reasonable convention
Instead of using the label, use a snake-case value
without any spaces.

While at it, update Selenium/WebDriver test suites.
2023-06-10 19:38:36 +04:00
Marcial Rosales 93907b38a1 Look up for elements rather than clicking on them
This is because when we clicked on a menu option
there are html content refreshed which confuses
the webdriver
2023-05-19 17:01:15 +02:00
Marcial Rosales 67e04259a0 Test various user tags without vhost permissions 2023-05-19 17:01:15 +02:00
Marcial Rosales 20269bf222 Fix issue #7369
Depending on `disable_stats` value
search for detailed exchange details or
basic details
2023-02-21 13:11:45 +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 07fc6d1313
Validate imported user from file 2023-01-03 07:09:05 -05:00
Marcial Rosales 4b1e30640d
Fix import/export test cases
When running test remotely, the import
definition file must be transfered from
the test container onto the selenium container
wehre the browser runs
2023-01-03 07:09:04 -05:00
Marcial Rosales 36728042ec
Test with selenium export/import definitions 2023-01-03 07:09:03 -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 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