Commit graph

49 commits

Author SHA1 Message Date
Erik Jan de Wit
43c6564895
Changed to use the same form + rename (#2342) 2022-04-20 19:11:46 +02:00
Erik Jan de Wit
324ebdaf11
Added initial version of the client permission tab (#2452) 2022-04-20 11:42:24 +02:00
Erik Jan de Wit
898d609f51
Added tests for realm role attributes (#2391) 2022-04-20 11:29:35 +02:00
ikhomyn
be5f5d22d3
refactor clients tests (#2368) 2022-04-19 08:25:57 -04:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +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
Jenny
6aab45dca7
Add tests for composite realm roles (#2288) 2022-03-29 12:39:32 +02:00
Aboullos
95a23f12a9
Add Clients tests (#2270) 2022-03-28 15:14:56 +02:00
Jenny
9e37252db2
restore tests (#2227) 2022-03-14 09:51:43 -04:00
Jon Koops
4e697600e0
Always preserve session cookies for all tests (#2215) 2022-03-09 17:42:51 +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
Erik Jan de Wit
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +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
Jon Koops
dcf2da04f8
Use a single admin client instance for all tests (#2140) 2022-02-24 11:31:46 +01:00
ikhomyn
83d9018f6d
new Client->details->ClientScopes and ClientScopes tests (#1967) 2022-02-22 13:46:49 +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
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
8b0327fa2c
Changed to use routable tabs (#1934)
* Changed to use routable tabs

* fixed tests
2022-01-31 08:20:35 +01:00
Aboullos
04e86e9b0b
Update Clients tests (#1824) 2022-01-08 10:27:57 +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
ikhomyn
383673fc1a
Fix. 1359-Can't view all scopes. (#1675) 2021-12-10 13:24:26 +01:00
mfrances17
a9d9581062
Cypress test fixes (#1628) 2021-12-06 11:50:29 +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
mfrances17
aad3b2ba43
Fixes cypress memory issue and several tests (#1358)
* fixes memory issue and 3 tests

* all tests passing locally
2021-10-26 08:41:08 -04:00
Erik Jan de Wit
acd8921b20
Added mapping tab to clients (#1375)
* initial version mapper tab for clients

* added missing client select component

* added test

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

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

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

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

* now uses adminClient type for client search

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-20 16:26:05 +02:00
Erik Jan de Wit
60e4676ac8
added saml keys tab (#1308)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-12 11:28:55 +02:00
Jon Koops
10d7c35b81
Hide capability config for bearer-only clients (#1279) 2021-10-06 13:05:27 +02:00
Erik Jan de Wit
c71d21c748
Settings (SAML) (#1302) 2021-10-05 12:32:20 +02:00
Jon Koops
55307ec1ac
Prefer using arrow functions for callbacks (#1287) 2021-10-04 08:03:19 +02:00
Jon Koops
8e8c6d74ea
Add tests for bearer-only client details (#1270) 2021-09-30 12:04:50 +02:00
Jon Koops
b9d1dbff4c
Hide certain elements on the page if client is a realm (#1245) 2021-09-28 17:14:49 +02:00
Jon Koops
5979101b0b
Process UXD feedback for client revocation (#1139) 2021-09-10 15:25:18 +02:00
Erik Jan de Wit
fe740c0c21
added test for adding service account role (#954) 2021-08-10 14:41:56 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +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
Erik Jan de Wit
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +02:00
Erik Jan de Wit
b86db32ba8
Add scope tab to client scope detail page (#514)
* initial version of the scope tab

* fixed assign

* moved form logic added test

* added unassign

* fixed merge error

* fixed labels
2021-04-20 08:10:00 -04:00
Erik Jan de Wit
84bf7925a6
Created add service account roles assign screen (#465)
* service account dialog

* create test

* fixed types

* fixed realm roles selection

* disable when no rows are selected

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-04-01 10:14:19 -04:00
Erik Jan de Wit
50920b3df2
Added rename group and adding members to a group (#448)
* users can now rename groups

* add members to a group

* added cypress test

* remove rename and delete when no group is selected

* added test

* keep selected rows form other pages

* fixed empty first page and cancel button
2021-03-24 10:07:49 -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
mfrances
b717954709 change reload txt to revert 2021-03-12 11:30:14 -05:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
Erik Jan de Wit
bfa0c6e1ea
Advanced tab (#373)
* initial version of the advanced tab

* added registered nodes

* added fine grain open id connect configuration

* added open id connect compatibility section

* added advanced section

* added backend

* fixed type

* renamed 'advanced' to advancedtab

to prevent strange add of '/index.js' by snowpack

* fixed storybook stories

* change '_' to '-' because '_' is also used

* fix spacing buttons

* stop passing the form

* cypress test for advanced tab

* more tests

* saml section

* changed to use NumberInput

* added authetnication flow override

* fixed merge error

* updated text and added link to settings tab

* fixed test

* added filter on flows and better reset

* added now mandetory error handler

* added sorting

* Revert "changed to use NumberInput"

This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e.

* allow users to put empty string as value

* already on detail page after save

* fixed merge error
2021-02-28 15:02:31 -05:00
Erik Jan de Wit
7924080847
added missing confirm dialog (#395) 2021-02-24 08:59:12 +01:00
Erik Jan de Wit
39ef50bb1b remove seperate test project, intgrate cypress 2021-02-19 09:07:40 +01:00
Renamed from tests/cypress/integration/clients_test.spec.ts (Browse further)