Commit graph

38 commits

Author SHA1 Message Date
Erik Jan de Wit
98a6ddead0
more stable way to assert the text (#33811)
fixes: #33810

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-10-11 17:32:06 +02:00
Erik Jan de Wit
022ab4d263
save error from async call (#32618)
* save error from async call

fixes: #32609
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-09-27 13:21:43 +02:00
Jon Koops
a0c99a7ae0
Show full error details in admin and account consoles
Closes #30705

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-10 16:20:26 +02:00
Jon Koops
c7361ccf6e
Run the Vite dev server through the Keycloak server (#27311)
Closes #19750
Closes #28643
Closes #30115

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-12 11:55:14 +02:00
Hynek Mlnarik
b1ba4f6174 Fix linting errors
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-07 22:22:16 +02:00
Erik Jan de Wit
d2e8092c7f
move keycloak select to ui-shared and fix typeahead (#30209)
* move keycloak select to ui-shared and fix typeahead

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Fix the account console test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Fix cypress tests

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* fix for when value is an array

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix for when value is an array

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* add support for array selecting single value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed saying open once clicked outside and value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* small issue when pressing enter

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-07 16:05:03 +00:00
Stefan Wiedemann
3e243d77ec
fix oid4vci tests
Closes #30079

Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com>
2024-06-06 10:58:01 +02:00
Jon Koops
c17023270c
Use correct PNPM workspace names on CI (#29973)
Closes #29976

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-03 13:42:44 +02:00
Jon Koops
aa86a0b94c Fix various linting issues for Account Console
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-03 10:47:40 +02:00
Stefan Wiedemann
0f6f9543ba
Add oid4vci to the account console (#29174)
closes #25945

Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com>


Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-31 15:11:32 +02:00
john-gom
808926b63e
Use a typeahead select where there are ten or more options (#28512)
Use typeahead for locale selector



Fix onFilter of SelectControl rather than removing it

Signed-off-by: John Gomersall <thegoms@gmail.com>
2024-04-18 16:18:00 -04:00
Jon Koops
3216e7c781
Only allow a known refferer URI for the Account Console (#28743)
Closes #27628

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-16 17:24:22 +02:00
john-gom
12b263c029
Apply localization to placeholder and before text
Closes #25114

Signed-off-by: John Gomersall <thegoms@gmail.com>
2024-04-15 17:58:22 +02:00
Jon Koops
d3c2475041
Upgrade admin and account console to PatternFly 5 (#28196)
Closes #21345
Closes #21344

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Mark Franceschelli <mfrances@redhat.com>
Co-authored-by: Hynek Mlnařík <hmlnarik@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-05 16:37:05 +02:00
Hynek Mlnarik
2f0a9ba547 Ensure referrer link is shown while navigating
Fixes: #27622
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-26 09:40:27 +01:00
Hynek Mlnařík
19061fb97a
Fix Signing in page (#27935)
Fixes: #27820

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-18 13:19:57 -04:00
Hynek Mlnařík
250e1137d6
Fix account console tests for dev (#27600)
Fixes: #27604

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-07 12:39:26 +01:00
Jon Koops
7afd75ba08
Use browser router for Account Console (#22192)
Closes #27442

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-04 12:38:28 +00:00
Hynek Mlnařík
004805e21d
Add tests for linked accounts (#27299)
Fixes: #21248

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-27 07:15:23 +01:00
Hynek Mlnarik
7b384280b6 Tests for applications page
Fixes: #21249

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-26 13:24:06 +01:00
Hynek Mlnarik
568b6e0ad7 Add device activity tests
Fixes: #21247
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-19 11:14:00 +01:00
Hynek Mlnarik
2914c5821d Add signing-in tests
Fixes: #21245
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-14 14:28:13 +01:00
Hynek Mlnarik
18ad2c8b30 Add account console group test
Fixes: #21250

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-13 11:39:57 +01:00
Erik Jan de Wit
5d39625d82
account library (#26373)
* initial version

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* better init

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added more components

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* moved to public

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* use environment var to enter library mode

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added export field

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-01 16:46:11 +01:00
rmartinc
01be4032d8 Enable verify-profile required action by default
Closes #25985

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-01-31 13:32:53 +01:00
Pedro Igor
c7f63d5843 Add options to change behavior on how unmanaged attributes are managed
Closes #24934

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-11-30 06:58:21 -03:00
Erik Jan de Wit
89abc094d1
userprofile shared (#23600)
* move account ui user profile to shared

* use ui-shared on admin same error handling

also introduce optional renderer for added component

* move scroll form to ui-shared

* merged with main

* fix lock file

* fixed merge error

* fixed merge errors

* fixed tests

* moved user profile types to admin client

* fixed more types

* pr comments

* fixed some types
2023-11-14 08:04:55 -03:00
agagancarczyk
8cd40bd911
Account user roles tests (#23663)
* added check for deleting account

* added test for checking if linked accounts exist

* clean up

* fix

* improving test

* improving test

* improved selector

* trying to improve test

* improving test

* trying to improve test

* trying to improve test

* refactoring test

* refactoring test

* refactoring test

* improving test

* added mocked identityProvider

* changed to use `user-profile

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-10-26 13:16:09 +02:00
Erik Jan de Wit
7f9ea3afbb
added test for resources (#23706)
* added test for resources

fixes: #21251

* pr comments

* Rename `data-testId` to `data-testid`

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-17 07:42:38 +02:00
Pedro Igor
290bee0787
Resolve several usability issues around User Profile (#23537)
Closes #23507, #23584, #23740, #23774

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-06 10:15:39 -03:00
agagancarczyk
358bae0652
Fix failing Account Console tests (#23353) 2023-09-19 12:29:05 +00:00
Erik Jan de Wit
b7d91eeaf5
added more profile tests (#23005)
* added more profile tests

* create user per test to reset values

* skipping locale select tests
2023-09-12 07:54:38 -04:00
Erik Jan de Wit
1b722477a2
Add tests to the Account Console for user profile (#22576) 2023-08-31 11:32:39 +02:00
Erik Jan de Wit
1049ad8edf
added test for the groups tab of the account-ui (#22371)
* added test for the groups tab of the account-ui

* simplified groups realm setup

* fixed url

* changed login to add realm

* set account ui v3 as theme
2023-08-18 14:18:28 +02:00
Erik Jan de Wit
6d85ceef25
added better rendering to account (#22297)
* added better rendering to account

fixes: #21699

* merged in changes

* re-added test
2023-08-15 15:22:13 +02:00
Jon Koops
d6eb642a65
Add Account Console E2E tests (Playwright) to CI (#21496) 2023-08-14 16:41:58 +02:00
Erik Jan de Wit
f06d7f8eb6
Add initial test for the resources tab (#21334) 2023-07-07 14:34:54 +00:00
Erik Jan de Wit
2beedcc4c7
Add first Playwright test for the Account Console (#20809) 2023-06-20 12:49:48 +00:00