Commit graph

22 commits

Author SHA1 Message Date
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
Erik Jan de Wit
ced1008ad5
now only logs in per test suite for client tests (#1828) 2022-01-07 08:27:58 +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
0bbd4ddad1
Initial version of the create and edit resouce screen (#1573)
* Initial version of the create and edit resouce screen

* refactored and fixed the attributes form

introduced a new component that can be used more easily

* Update src/components/json-file-upload/FileUploadForm.tsx

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

* Update src/components/attribute-form/attribute-convert.ts

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* PR review

* fixed tests

* PR review comments

* resourceId is optional

* Update src/components/attribute-form/attribute-convert.ts

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-01 08:58:25 +01:00
Erik Jan de Wit
405d3310f3
add ability to leave multiple groups (#1431)
* add ability to leave multiple groups

fixes: #496

* With v21.0.0 a new JSON format v4 was introduced

* Update src/user/UserGroups.tsx

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

* Update src/user/UserGroups.tsx

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

* filter selected groups based on direct membership

* fixed test

* remove all the groups

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-03 09:45:37 -04:00
alevid99
9e116daf62
Added possibility to manage array attributes (#1384)
* Added possibility to manage array attributes

* feat(attributes): added multivalue tests
2021-10-28 14:49:19 -04:00
alevid99
3fa13259e0
Added attributes tab to users (#1383) 2021-10-25 16:38:54 +02:00
Jon Koops
775885c56b
Configure Cypress to use the correct types (#1168) 2021-09-17 15:23:34 +02:00
Erik Jan de Wit
cb94c537db
don't show toolbar when not searching (#1152)
* don't show toolbar when not searching

* fixed the tests

* made switch logic more readable

* fixed test
2021-09-15 11:45:56 +02:00
Erik Jan de Wit
2c9b77c425
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests
2021-06-16 07:35:03 -04:00
Erik Jan de Wit
8d72f8a705
Fixing cypress tests (#586)
* upgrade cypress

* fixed delete now has dialog

* also check "unAssign"

* client type no longer required

* providers and group changes

* grp creation working

* moved create realm button ouside the dropdown

* sped up test and added cleanup

* Revert "moved create realm button ouside the dropdown"

This reverts commit e2076a5305808417de910ba8fada8e528e5c356a.

* make test re-runnable

* removed un needed navigation

* Fix misformed Cypress config for GitHub Action

* cleanup after test

* fixed cleanup

* temporary removed this test

* also remove user "new"

* try adding a wait for CI

* get different modal id

* add {force: true} to modal functions

* mv grp search last and ignore 401

* try using cy.get and disable video for testing

* add back video artifacts

Co-authored-by: mfrances <mfrances@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: jenny-s51 <jshandel@redhat.com>
2021-05-06 07:31:40 +02:00
jenny-s51
1791daee80 remove comment in cypress test 2021-04-21 09:55:14 -04:00
jenny-s51
033388bb67 update user form with new design 2021-04-20 10:12:29 -04:00
Eugenia
820af6abca
Users(groups): functionality for adding multiple users to groups (#534)
* add user to groups modal wip

* add logic for selecting multiple groups, API does not support this yet

* cfixcheckbox select bug

* add functionality to select and add multiple groups

* function name

* update cypress test
2021-04-19 15:53:28 -04:00
Eugenia
2bcdf51075
Users(Consents): add empty state and list consents (#516)
* user consents

* remove form prop

* address PR feedback from Stan and list consents in data table

* update test

* revert css updates
2021-04-14 14:39:21 -04:00
Eugenia
6f4ea86ecb
Users(groups): Add modal for joining user groups (#513)
* add cypress test to add groups to user

* add test to leave group

* format

* update snapshots

* add user to groups modal wip

* wip join group functionality

* add modal to add user groups

* add refresh

* remove comment

* lint and format

* fix empty state

* add cypress test to add groups to user

* format

* revert snap

* remove existing joined groups from modal
2021-04-14 14:19:39 -04:00
Eugenia
236e89dc63
Users: Add groups tab and list groups (#450)
* usergroups call wip

* user groups

* add user groups tab and list group data

* clean up log stmts

* add cypress test

* clean up userGroups

* remove comment

* fix types

* cypress test

* fix lint and cypress test

* lint

* address PR feedback from Mark

* clean up

* remove component from viewheader

* rebase and format

* remove duplicate identifier

* wrap groups in section

* fix ts errors

* add search functionality

* remove comment

* list groups initially

* remove log stmt
2021-03-23 15:02:27 -04:00
Stan Silvert
398ca19ec1
Allow New Admin Console to run as a WAR on Keycloak server. (#439)
* Allow app to run as a WAR on Keycloak server.

* New client creation json that works for both dev and prod

* fixed tests

* Try Mark's trick to get realm_test to run.

* Make tests use keycloakBefore()

* Fix duplicate import

* fix github actions

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-03-18 08:48:14 -04:00
Eugenia
28f1fdfda4
Users: Adds user details tab and save/update functionality (#426)
* userDetails tab done, save function wip

* userDetails update working

* add cypress test

* fix default value

* PR feedback from Erik
2021-03-11 21:23:08 +01:00
jenny-s51
a534cfc351 update cypress test to work on empty state and search page 2021-03-04 13:49:05 -05:00
jenny-s51
39cd530696 add cypress test to create user 2021-03-04 09:26:21 -05:00
jenny-s51
1a4c635946 clean up and add cypress test 2021-03-03 14:12:16 -05:00