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: Fix APIs that are broken in older versions of Grafana #739

Merged
merged 10 commits into from
Apr 3, 2024

Conversation

sunker
Copy link
Contributor

@sunker sunker commented Feb 10, 2024

What this PR does / why we need it:

In the docs we indicate that all plugin-e2e apis are compatible with Grafana 8.5 and onwards. However, the workflow that runs playwright tests in this repo only tests against Grafana 9.5 an onwards. While testing against older versions of Grafana locally, I noticed a few bugs/broken scenarios that are now fixed in this PR.

Ideally, the repo should run tests against every version of Grafana that we have committed to support. However, that would start up around 15 jobs per PR which is not ideal. Maybe we can define another workflow that runs nighlt tests against all these versions sequentially?

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@4.5.0-canary.739.5d6b944.0
npm install @grafana/plugin-e2e@0.27.0-canary.739.5d6b944.0
# or 
yarn add @grafana/create-plugin@4.5.0-canary.739.5d6b944.0
yarn add @grafana/plugin-e2e@0.27.0-canary.739.5d6b944.0

Copy link

github-actions bot commented Feb 10, 2024

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

✨ This PR can be merged and will trigger a new patch release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

@sunker sunker force-pushed the plugin-e2e/fix-bugs-in-older-g-versions branch from f1d972c to f834810 Compare February 22, 2024 08:08
@sunker sunker added patch Increment the patch version when merged release Create a release when this pr is merged labels Feb 22, 2024
@sunker sunker force-pushed the plugin-e2e/fix-bugs-in-older-g-versions branch from f834810 to 9e7f7b8 Compare March 20, 2024 16:15
@sunker sunker requested a review from mckn March 26, 2024 09:14
@sunker sunker marked this pull request as ready for review March 26, 2024 09:14
@sunker sunker requested a review from a team as a code owner March 26, 2024 09:14
@sunker sunker changed the title [wip] Plugin E2E: Test older Grafana versions Plugin E2E: Fix APIs that are broken in older versions of Grafnaa Mar 26, 2024
@sunker sunker changed the title Plugin E2E: Fix APIs that are broken in older versions of Grafnaa Plugin E2E: Fix APIs that are broken in older versions of Grafana Mar 26, 2024
Copy link
Collaborator

@mckn mckn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sunker sunker merged commit 300cdde into main Apr 3, 2024
21 checks passed
@sunker sunker deleted the plugin-e2e/fix-bugs-in-older-g-versions branch April 3, 2024 09:01
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/create-plugin@4.4.6, @grafana/plugin-e2e@0.26.1 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants