Commit graph

45 commits

Author SHA1 Message Date
Jon Koops
0c3f270e42
Revert back to 'skipTests' to fix Maven build (#3158) 2022-08-22 09:29:39 -04:00
Erik Jan de Wit
e6686bf43f
faster maven execution (#3142)
hopefully fixes tests
2022-08-19 13:19:25 +02:00
Jon Koops
07b6053a91
Check in Cypress Dashboard record key (#3002) 2022-07-25 13:33:49 -04:00
Jon Koops
cfcc4481e8
Replace CI trigger for Cypress (#2971) 2022-07-15 15:14:32 -04:00
Jon Koops
7c31452921
Upgrade to version 10 of Cypress (#2790) 2022-06-13 12:08:13 +02:00
Jon Koops
c20c57f8aa
Upgrade to version 18 of Node.js (#2474) 2022-04-21 16:52:49 +02:00
Jon Koops
f4a11eac7f
Uploading Cypress assets to Github (#2484) 2022-04-21 13:49:42 +02:00
Jon Koops
4d0a1e5c2e
Trigger Cypress on 'push' event only (#2445) 2022-04-13 13:07:28 +02:00
Jon Koops
6bdb78f01e
Remove Java setup from testing job (#2444) 2022-04-13 13:07:08 +02:00
Jon Koops
5f47c3952b
Skip uploading Cypress assets (#2442) 2022-04-13 13:06:50 +02:00
Jon Koops
85f457c7d2
Check in record key to pass tests (#2440) 2022-04-11 13:22:48 -04:00
Jon Koops
3e503a7bb5
Use pull_request_target to allow access to secrets (#2438) 2022-04-11 12:48:28 -04:00
Jon Koops
03927cda3b
Run Cypress tests in parallel to optimize performance (#2433) 2022-04-11 16:18:24 +02:00
Jon Koops
144715f75b
Update Github Actions to latest versions (#2407) 2022-04-11 13:25:24 +02:00
dependabot[bot]
8046026ec5 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:19:01 +02:00
dependabot[bot]
59e857b2e7 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:18:42 +02:00
Jon Koops
b40da16afd
Upload server log after running Cypress tests (#2341)
* Upload server log after running Cypress tests

* fix typos
2022-04-05 09:20:00 +02:00
dependabot[bot]
edaa633a8c Bump actions/setup-node from 2 to 3.1.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 17:24:39 +02:00
Stan Silvert
e2573bd67e
Use Quarkus features option and add fine grained auth (#2331) 2022-03-25 13:12:49 +01:00
Jon Koops
b400b2f312
Remove no-proxy argument from Keycloak server (#2324) 2022-03-22 12:01:32 +01:00
Jon Koops
c39283508c
Disable proxy for Keycloak server (#2299) 2022-03-18 17:19:24 +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
9a45bf96f0
Speed up CI by skipping account v2 theme in build (#2142) 2022-02-24 11:31:06 +01:00
Jon Koops
f0fc136672
Add toggle for user profile to realm settings (#1717) 2022-01-03 16:00:03 +01:00
Jon Koops
2640477c3c
Enable 'admin-preview' profile when building Keycloak (#1789) 2021-12-23 13:37:50 +01:00
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