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: Click on panel menu items #865

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

sunker
Copy link
Contributor

@sunker sunker commented Apr 9, 2024

What this PR does / why we need it:

This PR adds a clickOnMenuItem method to the panel model. This makes it possible to click on a panel menu item (or a sub menu item). The method can for example be used to click on link extensions that are shown in the panel menu.

I need this feature to properly migrate the app-with-extensions example plugin to use Playwright instead of Cypress.

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/plugin-e2e@1.1.0-canary.865.4f18148.0
# or 
yarn add @grafana/plugin-e2e@1.1.0-canary.865.4f18148.0

@sunker sunker marked this pull request as ready for review April 9, 2024 09:24
@sunker sunker requested a review from a team as a code owner April 9, 2024 09:24
@sunker sunker requested review from Ukochka and removed request for a team April 9, 2024 09:24
Copy link

github-actions bot commented Apr 9, 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.

@sunker sunker added minor Increment the minor version when merged release Create a release when this pr is merged labels Apr 9, 2024
@sunker sunker merged commit 1ed0216 into main Apr 9, 2024
23 of 27 checks passed
@sunker sunker deleted the plugin-e2e/open-extension branch April 9, 2024 11:49
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/plugin-e2e@1.1.0 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Apr 9, 2024
Ukochka pushed a commit that referenced this pull request Apr 16, 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.

2 participants