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

Add e2e smoke tests #464

Draft
wants to merge 5 commits into
base: sunker/remove-cypress
Choose a base branch
from
Draft

Conversation

sunker
Copy link
Contributor

@sunker sunker commented Nov 15, 2024

What this PR does:

  • configures Playwright and grafana/plugin-e2e according to these instructions
  • adds simple e2e tests that verifies that the config editor, the query editor, the annotation editor and the variable query editor renders
  • adds a workflow (copied from this article) that runs the smoke tests in all versions of Grafana that the plugin supports (decided by the grafanaDependency specified in package.json)

Note that the tests in this PR only verifies that the modules used in these frontend components loads and renders in the different Grafana runtimes. It does not verify that the data query pipelines work. To find inspiration on how to test data pipelines, refer to the docs.

Screenshot 2024-11-15 at 12 38 47

@sunker sunker changed the title [POC]: Add e2e smoke tests Add e2e smoke tests Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant