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

Create plugin: update scaffolded tests when creating an app plugin #892

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

mckn
Copy link
Collaborator

@mckn mckn commented Apr 24, 2024

What this PR does / why we need it:
This PR will update the E2E tests scaffolded when creating an app plugin to use the latest and the greatest APIs from plugin-e2e. Instead of repeating the pluginId in multiple tests we define it once in the test fixture.

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.8.0-canary.892.e66359c.0
npm install @grafana/plugin-e2e@1.2.0-canary.892.e66359c.0
# or 
yarn add @grafana/create-plugin@4.8.0-canary.892.e66359c.0
yarn add @grafana/plugin-e2e@1.2.0-canary.892.e66359c.0

@mckn mckn self-assigned this Apr 24, 2024
Copy link

github-actions bot commented Apr 24, 2024

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

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

@mckn mckn marked this pull request as ready for review April 24, 2024 20:19
@mckn mckn requested a review from a team as a code owner April 24, 2024 20:19
@mckn mckn requested review from oshirohugo and removed request for a team April 24, 2024 20:19
@mckn mckn added minor Increment the minor version when merged release Create a release when this pr is merged labels Apr 24, 2024
@mckn mckn requested a review from sunker April 24, 2024 20:20
@mckn mckn changed the title Updated scaffolded e2e tests for app plugins to use latest APIs available in plugin-e2e Create plugin: update scaffolded tests when creating an app plugin Apr 24, 2024
Copy link
Contributor

@sunker sunker left a comment

Choose a reason for hiding this comment

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

🚀

@mckn mckn merged commit 316e5d8 into main Apr 25, 2024
16 of 19 checks passed
@mckn mckn deleted the mckn/create-plugin-testing-template-updates branch April 25, 2024 07:27
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/create-plugin@4.9.0 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor 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.

None yet

2 participants