Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration and updates #259

Closed
wants to merge 5 commits into from
Closed

Conversation

lpetrora
Copy link
Member

@lpetrora lpetrora commented Sep 4, 2024

* Switched from yarn to npm
* Updated dependencies to latest version
* Updated code to be compatible with latest dependencies versions
* Updated unit tests
* Migrated Cypress e2e tests to Playwright
* e2e tests run dockerized. It spawns 3 containers: Grafana, Checkmk, and Playwright. Playwright container will build the plugin and share it with Grafana using a shared volume
* Updated Github actions in order to run the Playwright e2e tests on github actions

* Switched from yarn to npm
* Updated dependencies to latest version
* Updated code to be compatible with latest dependencies versions
* Updated unit tests
* Migrated Cypress e2e tests to Playwright
@lpetrora lpetrora force-pushed the lp-master-migration branch from a165ba8 to acbd340 Compare September 5, 2024 06:36
The e2e tests now run inside docker. It spawns 3 containers:
* Grafana
* Checkmk
* Playwright runner

In order to run the tests, first you need to manually build the plugin

> npm run build

With the plugin built, the tests run unattended from docker

tests > docker compose up --build
* Prettified files
@lpetrora lpetrora force-pushed the lp-master-migration branch 8 times, most recently from c58d70a to fcc72d0 Compare September 5, 2024 12:56
* Update github actions
@lpetrora lpetrora force-pushed the lp-master-migration branch from fcc72d0 to ba2ace5 Compare September 5, 2024 13:07
@lpetrora lpetrora closed this Sep 5, 2024
@lpetrora lpetrora deleted the lp-master-migration branch September 5, 2024 13:24
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant