Commit graph

29 commits

Author SHA1 Message Date
Jon Koops
b5dfcda451
Improve caching logic of main workflow (#1274) 2021-09-30 16:22:20 +02:00
Jon Koops
bd5b0da694
Fix a typo in the publish workflow (#1243) 2021-09-27 16:59:20 +02:00
Jon Koops
c3e84021cf
Run jobs for CI in parallel (#1222) 2021-09-27 10:56:35 +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
6e0d4e4dfa
Prevent publish from running on forked repositories (#1169) 2021-09-16 15:35:06 +02:00
Jon Koops
d12851c77e
Add action to automatically publish snapshots (#1054) 2021-09-08 17:50:48 +02: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
1d79a5d9a8
Drop Storybook from the project (#881) 2021-07-20 16:40:45 +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
ef1f8b0734
Use a Snowpack plugin to check TypeScript types (#844) 2021-07-14 12:43:21 +02:00
Jon Koops
fc85d1a005 Integrate Prettier into ESLint and fix linting issues
Other changes:
- Ensure that .tsx files are included in the linting process
2021-07-13 15:20:36 +02: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
Jon Koops
2bc533b9da Fix Storybook server and update to latest version
- Fix build for Storybook
- Update Storybook and dependencies to latest version
- Update Storybook files from React template
- Add task to CI to verify Storybook build
2021-07-05 15:33:54 +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
Donald Labaj
57fdb46b1f
Added coding standards to the project. (#139)
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
2020-10-06 17:42:32 -04:00
Stan Silvert
ca7c014e55
Run tsc on build to check for typescript errors (#69)
* Run tsc on build to check for typescript errors

* Fix typescript errors.  Rename failing stories.

* Make prettier happy

* Use only tsconfig for tsc.
2020-09-08 07:56:44 +02:00
Donald Labaj
adbb2c3d3f
Added github actions to automate build, test, and linting (#41)
Fixes issue #15.  Builds, test, lints, and checks format when a PR is created using github actions.
2020-09-01 10:51:59 -04:00