Commit graph

338 commits

Author SHA1 Message Date
ikhomyn
be5f5d22d3
refactor clients tests (#2368) 2022-04-19 08:25:57 -04:00
mfrances17
0dd9cacdd3
Adds tests for LDAP provider advanced and cache settings (#2338)
* adds ldap advanced and cache tests

* fixes issues from merges

* dont force close notification

* error msg differs
2022-04-14 13:07:28 +02:00
agagancarczyk
8294b65872
fix attempt 1 (#2448)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-14 09:16:52 +01:00
agagancarczyk
45746e7660
wip: realm_test fix/improvement attempt (#2446)
* test fix attempt

* test fix attempt 2

* test fix attempt 3

* test fix attempt 4

* test fix attempt 4

* cleanup

* fix for client test

* fix attempt 5

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-13 14:16:37 +02:00
agagancarczyk
7418bca8f4
Realm-settings -> User Profile -> Create/Edit Attribute tests (#2410)
* added tests for creating new attribute

* added more tests

* removed temporary skips

* added more tests

* added more tests

* fixed typo

* fixed focus bug

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-11 15:00:08 +01:00
mfrances17
818b8cdbb9
Adds LDAP searching tests (#2385) 2022-04-08 11:47:14 +02:00
Erik Jan de Wit
e681dbae4a
Enabled more tests (#2399) 2022-04-08 10:56:20 +02:00
mfrances17
0f48da11e7
Adds LDAP kerberos integration and synchronization tests (#2378) 2022-04-07 00:06:56 +02:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Jenny
bb226b52ff
Adds Realm Settings tests for general tab (#2336) 2022-04-05 21:34:21 +02:00
mfrances17
ef9d0ca822
Adds LDAP connection and general tests (#2376) 2022-04-05 21:33:51 +02:00
Erik Jan de Wit
4b150993a6
Fixed text of empty state (#2295) 2022-04-05 17:02:27 +02:00
Jon Koops
97a5bca5b0
Skip broken tests related to logout and other flaky tests (#2396) 2022-04-05 15:17:35 +02:00
mfrances17
e44103dda5
Use number input for max lifespan (#2333)
* changed max lifespan to number input

* fixes kerberos test
2022-04-05 09:18:57 +02:00
Jenny
6aab45dca7
Add tests for composite realm roles (#2288) 2022-03-29 12:39:32 +02:00
Jenny
3efffab55d
Realm settings(login tab): Add login tests (#2260) 2022-03-28 17:34:07 +02:00
Aboullos
95a23f12a9
Add Clients tests (#2270) 2022-03-28 15:14:56 +02:00
Jon Koops
d5b9c2d995
Skip broken client authorization tests (#2360) 2022-03-28 12:46:45 +02:00
Erik Jan de Wit
bd82872282
Make the export tab tests more stable (#2339) 2022-03-25 12:19:15 +01:00
Erik Jan de Wit
878e78f84c
Fix auth tests (#2335) 2022-03-24 15:35:27 +01:00
Erik Jan de Wit
07d1202d1c
use the listing page for searching fixing these (#2330)
* use the listing page for searching fixing these

* fixed text
2022-03-24 10:11:35 +01:00
Jon Koops
e46f818650
Use 'del' to remove passing test videos (#2325) 2022-03-24 10:01:41 +01:00
Erik Jan de Wit
1d5eccfbb2
Fixed locator for search box (#2328) 2022-03-23 11:57:38 +01:00
mfrances17
73958176f5
search tests for ldap mappers (#2275) 2022-03-21 07:45:34 +01:00
mfrances17
45b6be4fe8
Fixes SAML provider AuthnContext Constraints fields (#2231)
* no multiline for now

* multiline work in progress

* changed to JSON.stringify

* both multiline fields working

* check for undefined to prevent JSON issue

* streamline saml and oidc provider tests

* final tests and misc fixes

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-16 07:25:01 -04:00
mfrances17
8fa978aeb0
Add all missing Kerberos tests (#2263) 2022-03-16 11:48:21 +01:00
Erik Jan de Wit
d45e53f350
Initial version of writing tests document (#2176) 2022-03-16 10:39:16 +01:00
Erik Jan de Wit
6b993ea93a
Use file upload instead of typing large text (#2228) 2022-03-15 10:45:15 +01:00
Erik Jan de Wit
3a1cd3e5b3
Fixed broken tests (#2225) 2022-03-15 10:45:02 +01:00
Jenny
9e37252db2
restore tests (#2227) 2022-03-14 09:51:43 -04:00
Jenny
7c4509e9bf
Add realm actions tests 2022-03-14 11:16:23 +01:00
Jon Koops
4e697600e0
Always preserve session cookies for all tests (#2215) 2022-03-09 17:42:51 +01:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Jenny
ae133d675b
Clients -> Roles Tab: Adds Role Tests (#2174) 2022-03-09 17:41:45 +01:00
Jon Koops
e7e882c36b
Disable more tests that can occasionaly be flaky (#2214) 2022-03-07 18:53:39 +01:00
agagancarczyk
9d376ebcde
User Credentials -> Draggable user credentials (#2131)
* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* added tests - wip

* added test

* draggable rows - wip

* feedback

* fixed position of reset credential btn

* fixed position of reset credential btn

* Remove unnecessary key props

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-07 14:32:34 +00:00
Jon Koops
127cb343ab
Skip tests that are often flaky on CI (#2213) 2022-03-07 13:36:43 +01:00
Erik Jan de Wit
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +01:00
Jon Koops
6788763931
Restore previously skipped tests (#2179) 2022-03-06 12:08:33 +01:00
Erik Jan de Wit
4cf460f4df
fixed async role creation bug (#2180) 2022-03-03 08:45:44 +01:00
Jenny
bbc0bcf8b2
Add new capability configs and tests (#2164)
* add checkbox fields, more tests

unskip test

fix beforeEach

add front channel logout configs

set default to true

set default to true

fix console warning and conditionally render url field

show frontchannel settings under logout settings if OIDC client

PR feedback from Jon

* fix clients test

* resolve console warning

* addCapabilityConfigs
2022-03-02 16:59:37 -05:00
Jenny
741bc0d195
Add "always display" switch (#2165)
* add always display switch

* add optional param to fillClientData

* add frontchannelLogout to SAML settings

* fix test
2022-03-02 11:08:01 -05:00
Jenny
baf2380d1e
Cypress tests: users (#2148)
* add users tests

* delete multiple users from list test

* users from search bar

* remove unnecessary its

* fix group test

* force add group click
2022-02-28 18:48:52 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
Jon Koops
297cb4677b
Allow access to clipboard in Cypress tests (#2147) 2022-02-24 16:47:06 +01:00
Jon Koops
dcf2da04f8
Use a single admin client instance for all tests (#2140) 2022-02-24 11:31:46 +01:00
Jenny
72268bb896
Fix associated roles table (#2136) 2022-02-23 18:46:52 +01:00
Jenny
ecd65b3ce7
Username field (#2135) 2022-02-23 15:46:56 +01:00
Erik Jan de Wit
bda591fb0d
added better / more realm role tests (#2119) 2022-02-23 12:05:38 +01:00
mfrances17
79827249ed
Update to Patternfly 4.179.1 (#2132)
* update to latest patternfly

* update PF versions and fix repeatedly failing test

* updated lock file
2022-02-22 16:57:49 -05:00
Erik Jan de Wit
6ef3dc16f5
removed not working filter option (#2067) 2022-02-22 14:30:18 +01:00
ikhomyn
83d9018f6d
new Client->details->ClientScopes and ClientScopes tests (#1967) 2022-02-22 13:46:49 +01:00
Erik Jan de Wit
10b53617a0
removed components that don't adhere to server configuration (#2091) 2022-02-21 17:30:57 +01:00
Jenny
9fa1c1303f
Add screens for rsa-enc-generated type (#2052)
* add screens for rsa-enc-generated type

* update tests
2022-02-21 13:19:41 +01:00
Erik Jan de Wit
cf6413af41
initial version of dedicated client scope (#2000) 2022-02-21 13:14:20 +01:00
Aboullos
5227115f05
Add Clients tests, fix notification message and stabilize tests (#1999)
* Add Clients tests and fix notification message

* Remove TODO message

* Add waits and refactor

* Refactor and fix tests in realm settings

* Fix lint

* Refactor, fix tests and add stability

* Refactor and stabilize tests

* Stabilize tests

* Fix Realm settings event test and stabilize

* Set confirmModal to always force click

* Add force click and wait

* Fix masthead test

* Modify cypress.json

* Modify realm dropdown selector

* Revert hook changes
2022-02-16 17:34:54 +01:00
agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes (#2107)
* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* added dropdown for each attribute row

* added kebab logic

* added delete dialog - wip

* added delete dialog - wip

* added delete dialog - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* refactored draggable rows

* refactored draggable rows

* added tests

* added tests

* refactor

* refactor

* refactor

* renamed css file to realm-settings-section.css

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Jon Koops
a9e67b5fc4
Fix and skip broken tests (#2090) 2022-02-15 17:02:17 +01:00
Jenny
5968e1a7ee
Clients(Authentication): Adds "Export" tab (#1937) 2022-02-09 23:37:31 +01:00
Erik Jan de Wit
8de96be98b
Refactored user credentials into seperate components (#2024) 2022-02-09 15:39:10 +01:00
Erik Jan de Wit
90199db346
Added default group tab to user registration (#1965) 2022-02-09 12:46:58 +01:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +01:00
Erik Jan de Wit
b4738bf897
handle error code < 500 in error handler (#1916)
* handle error code < 500 in error handler

also:
fixes: #378

* Update src/context/RealmsContext.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed import

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-08 17:10:27 -05:00
Erik Jan de Wit
39107ac8ff
removed flacky test (#2020) 2022-02-07 13:10:19 +01:00
Erik Jan de Wit
5ff338eedf
small fix (#2001)
* small fix

* fixes delete
2022-02-03 09:13:39 -05:00
Erik Jan de Wit
6a970e6cb7
updated and fixed user test (#1956)
* updated and fixed user test

* Update cypress/integration/users_test.spec.ts

* fixed the confirm button test id

* fixed tests

* fix

* removed unused refresh

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-02-02 12:44:52 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant (#1990) 2022-02-02 11:33:57 +01:00
Erik Jan de Wit
aa19af62e2
renamed tab and better detail click (#1996) 2022-02-01 08:20:52 +01:00
Jenny
d93d1df27a
Update to Patternfly 4.171 (#1960)
* patternfly-4.171

* version bumps

* bump versions

* fix policies test

* fix policies test
2022-01-31 14:28:14 -05:00
Erik Jan de Wit
8b0327fa2c
Changed to use routable tabs (#1934)
* Changed to use routable tabs

* fixed tests
2022-01-31 08:20:35 +01:00
Erik Jan de Wit
db63cdd61c
Removed waits from realm test (#1906) 2022-01-24 15:17:55 +01:00
Erik Jan de Wit
109c255d90
Added the policy screens (#1884)
* initial policies tab

* added initial edit create screen

* removed switch in favour of mapping list

* added pickers

* added groups

* added regex

* added role select component

* added time

* added js type

* fixed create route

* fixed details

* added tests

* changed table header to required

* added user type

* added missing validation message
2022-01-21 15:10:36 +01:00
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab (#1823)
* add function to go to policies subtab

* use routable tabs

* use new defaultLocation prop

* rebase, lint, and tests

* unskip

* fix cancel test
2022-01-20 10:34:58 -05:00
Erik Jan de Wit
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +01:00
mfrances17
3b50af4678
LDAP mapper test fix (#1860) 2022-01-17 11:39:48 +01:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs (#1852) 2022-01-14 11:05:50 +01:00
Erik Jan de Wit
811131518e
Adds the permissions tab to the Authorization screen under clients (#1835)
* initial work on permissions

* search dropdown permissions

* permissions tab

* added empty state

* added new permssion detail route

* added detail screen

* fixed load

* added decision strategy

* added tests

* fixed class name and identeded the expandable table row
2022-01-12 11:01:54 -05:00
Aboullos
04e86e9b0b
Update Clients tests (#1824) 2022-01-08 10:27:57 +01:00
Erik Jan de Wit
cb033a0f8d
Fix another compilation error in Cypress tests (#1836) 2022-01-07 17:31:56 +01:00
Erik Jan de Wit
1e766ac9c0
Fix compilation errors in Cypress tests (#1834) 2022-01-07 14:17:18 +01:00
Jon Koops
ee29a308e8
Add overview for attributes groups to realm settings (#1822) 2022-01-07 13:56:27 +01:00
Erik Jan de Wit
ced1008ad5
now only logs in per test suite for client tests (#1828) 2022-01-07 08:27:58 +01:00
Erik Jan de Wit
f1c7e5ecb3
Create custom user federation providers page (#1745)
* Create custom user federation providers page

fixes: #1722

* added breadcrumb
2022-01-05 12:06:53 -05:00
Erik Jan de Wit
33a1769c39
Finish the policy pages of the authentication section (#1713)
* added WebauthnPolicy tab to Plicies

* change for passwordless

* added tests

* removed use of useToggle
2022-01-05 11:18:49 -05:00
Aboullos
23b11eb879
Update Masthead tests (#1820) 2022-01-05 10:56:38 +01:00
Jon Koops
f0fc136672
Add toggle for user profile to realm settings (#1717) 2022-01-03 16:00:03 +01:00
Jon Koops
acaff98e10
Fix broken Cypress tests (#1802) 2022-01-03 08:11:07 +01:00
Erik Jan de Wit
a88b38dec1
fix tests (#1793) 2021-12-23 15:43:23 +01:00
Jenny
05af84f20f
Edit message bundle values (#1663)
* message bundles are now editable

* update alert text in tests

* delete realm settings test

* remove updatedMessageBundles

* remove unused usefetch

* update lodash import

* fix add locale test

* fix add bundle

* cypress tests

* fix data test id on button

* remove unused isAgtive prop

* fix lint errors

* unskip tests

* refactor KDT to Table with PaginatedToolbar

* unskip tests

* uncomment

* revert KDT

* remove unused onSelect

* Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR feedback

* PR feedback

* remove useEffect

* fix localization test

* rewrite localization test

* switch test

* unskip

* force

* PR feedback

* package lock

* remove true

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-21 07:34:44 +01:00
Marco
2276311334
Credentials Reset Flow (#1699)
* Add credential reset modal

* Add i18n labels

* Refactor to align with marvelapp mockup
TODO: tests

* Add e2e tests

* Implement code review change requests
Add menuAppendTo to CredentialResetActionMultiSelect -> Select component
Add optional menuAppendTo prop to TimeSelectorComponent
Refactor CredentialsPage constructor
2021-12-21 07:22:44 +01:00
Erik Jan de Wit
a473a0b07f
added import and save functions to resource tab (#1676)
* added import and save functions to resource tab

* added test

* fixed the test
2021-12-16 17:31:17 +01:00
Erik Jan de Wit
97641e51cb
changed to use Dynamic components instead (#1662)
* changed to use Dynamic components instead

* fixed merge errors

* fixed PR review issues
2021-12-16 17:24:22 +01:00
Erik Jan de Wit
67d2c8617f
Changed the idP mapper form to use the new Dynamic forms (#1641) 2021-12-14 23:46:19 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
Erik Jan de Wit
d4c50f6218
added otp policies screen (#1665) 2021-12-13 11:39:41 +01:00
ikhomyn
383673fc1a
Fix. 1359-Can't view all scopes. (#1675) 2021-12-10 13:24:26 +01:00
Stan Silvert
6250ccdaef
Complete partial import functionality. (#1644)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-10 11:53:21 +01:00
Jon Koops
d493aa69ca
Show toolbar when filtering events results in an empty list (#1633) 2021-12-07 17:27:48 +01:00
alevid99
51d8038a5c
Added role mapping tab to group detail page (#1638)
* feat(group): added role mapping tab

feat(groups): fixed members tests

* Add correct role mapping label

* Use composite group mappings

Co-authored-by: Marco Cesi <sq@iamsquare.it>
2021-12-07 13:56:25 +01:00
Jon Koops
f4fe038a3e
Review comments for Cypress fixes PR (#1661) 2021-12-07 12:11:22 +01:00