Commit graph

20 commits

Author SHA1 Message Date
Jon Koops
570b28c0c7
Downgrade to Node 16 (#1574) 2021-11-20 13:55:00 +01:00
Stian Thorgersen
b894a775fc
Update cypress.yml 2021-11-02 09:04:19 +01:00
Jon Koops
6b7060c9d7
Update to version 17 of NodeJS (#1387) 2021-10-21 16:31:07 +02:00
Jon Koops
4d23bed065
Clean up workflows a little (#1211) 2021-09-24 15:47:36 +02:00
Jon Koops
668e20795b
Run the Cypress tests on master of Keycloak Server (#1207) 2021-09-24 08:41:34 -04:00
Jon Koops
170b4b0e43
Cache NPM dependencies in workflows (#1065) 2021-08-25 16:00:44 +02:00
Jon Koops
2c80bf597e
Run Cypress tests on Keycloak theme (#925) 2021-07-30 20:12:32 +02:00
Jon Koops
c848c794d7
Convert scripts to ESM (#859) 2021-07-15 22:56:25 +02:00
Jon Koops
589ae8e28d
Place Maven build into dedicated directory (#854) 2021-07-15 15:05:43 +02:00
Stan Silvert
d606dc6bee
Run as theme (#840)
* Build for Keycloak theme

* Update based on lastest index.html changes.

* Fix realm dropdown when home realm is not master.

* Fix readme.

* Fix linting errors.

* Try to fix tests.

* Address Jon's comments.
2021-07-14 11:35:49 -04:00
Jon Koops
d1ea86ac3f
Optimize performance of Cypress tests on CI (#809)
- Disable uploads for videos of tests that have passed
- Disable compression of videos to speed up runs
2021-07-08 13:09:29 +02:00
Jon Koops
510bf9508b Disable WebPack production build to pass tests 2021-07-08 12:30:22 +02:00
Jon Koops
898df795d9 Switch to NPM as the default package manager 2021-07-07 17:26:50 +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
Jon Koops
c6122eea93
Update to latest version of NodeJS (#558) 2021-04-30 10:43:23 +02: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
Erik Jan de Wit
f669be1d78
removed cypress init spec in favor of node script (#340) 2021-01-28 16:04:48 +01:00
Erik Jan de Wit
63aec4415c fixed workflow 2021-01-28 10:34:42 +01:00
Aboullos
daec4957f2
Add cypress framework (#271)
* Add cypress framework

* Add PR change requests

* Add initial .yml file for cypress tests

* Modify Run Keycloak line

* Modify Run Keycloak lines

* Modify Cypress test run

* Modify wait times

* Add more time

* Modify yarn start to npx http-server

* Try Cypress separate step

* Add test to set new admin console

* Modify uses to run

* Change yarn to npx http-server

* Add parameter to npx http-server

* Trigger GitHub actions

* Trigger GitHub actions

* Modify client_scope test messages

* Set headless mode

* Add steps to store artifacts

* Modify .yml

* Rebase onto realm fix and update real role message

* Update yaml file for artifact upload
2021-01-12 12:04:52 -05:00