Commit graph

17 commits

Author SHA1 Message Date
Erik Jan de Wit
02e3b97b7a
Fixes and re-enable realm tests (#2476) 2022-04-21 16:01:23 +02:00
Jon Koops
bbafff4d98
Skip realm tests as they are often flaky (#2469) 2022-04-19 17:42:43 +02: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
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Jon Koops
4e697600e0
Always preserve session cookies for all tests (#2215) 2022-03-09 17:42:51 +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
dcf2da04f8
Use a single admin client instance for all tests (#2140) 2022-02-24 11:31:46 +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
39107ac8ff
removed flacky test (#2020) 2022-02-07 13:10:19 +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
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +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
Jon Koops
71b1c4a444
Pass login realm to WhoAmI (#989)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-08-11 16:38:55 +02: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
78f843cdcc
Fixes with realm list (#576)
* only query realms endpoint once

currently the realm list query is expensive and we only need it once.

* fixed refresh issues

* fixed tests

* fixed imports

* fixed types

* removed strange non code

* reload instead

* added more realm tests
2021-05-03 12:44:47 -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
Erik Jan de Wit
39ef50bb1b remove seperate test project, intgrate cypress 2021-02-19 09:07:40 +01:00
Renamed from tests/cypress/integration/realm_test.spec.ts (Browse further)