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

Plugin E2E: Enable testing the annotation editor #577

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Conversation

sunker
Copy link
Contributor

@sunker sunker commented Dec 11, 2023

What this PR does / why we need it:
This PR adds fixtures and models that enable testing the annotation query editor and the annotation query runner in a data source plugin. The setup is very similar to variable editor tests.

Which issue(s) this PR fixes:

Part of #576

Fixes #

Special notes for your reviewer:

It's on my todolist to ask the dashboard squad for a direct URL to the page for editing a new annotation. It would be nice so we don't have to navigate via the dashboard annotation page which is slow and could be prone to errors. However, if we manage to get a new URL we'd still need this code since plugin-e2e needs to be backwards compatible with older versions of Grafana.

Copy link

github-actions bot commented Dec 11, 2023

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged. It will not be considered when calculating future versions of the npm packages and will not appear in the changelogs.

@sunker sunker changed the title Plugin E2E: Enable testing the annotation editor [WIP] Plugin E2E: Enable testing the annotation editor Dec 11, 2023
@sunker sunker added the no-changelog Don't include in changelog and version calculations label Dec 11, 2023
@sunker sunker requested review from jackw and academo December 11, 2023 21:32
@sunker sunker marked this pull request as ready for review December 11, 2023 21:32
@sunker sunker changed the title [WIP] Plugin E2E: Enable testing the annotation editor Plugin E2E: Enable testing the annotation editor Dec 11, 2023
@sunker sunker requested a review from a team as a code owner December 13, 2023 08:50
@sunker sunker merged commit 7d4fe44 into main Dec 13, 2023
9 checks passed
@sunker sunker deleted the annotation-editor branch December 13, 2023 13:14
@sunker sunker mentioned this pull request Dec 13, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Don't include in changelog and version calculations
Projects
Development

Successfully merging this pull request may close these issues.

2 participants