Skip to content

Migrate E2E tests to Playwright #346

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

Merged
merged 8 commits into from
Feb 3, 2025
Merged

Conversation

kevinwcyu
Copy link
Contributor

@kevinwcyu kevinwcyu commented Jan 22, 2025

Fixes https://github.com/grafana/oss-plugin-partnerships/issues/1192

  • Migrates e2e tests from cypress to playwright.
  • Removes references to @grafana/e2e and cypress
  • Updated src/ConfigEditor/ConfigEditor.tsx: previously it was rendering a disabled input and a select component at the same time. It would hide one depending on whether managed secrets was being used. This would cause multiple elements to be found when selecting by the Managed Secret label. The update renders only a single Managed Secret label and corresponding select or input.
@kevinwcyu kevinwcyu requested a review from a team as a code owner January 22, 2025 23:17
@kevinwcyu kevinwcyu marked this pull request as draft January 22, 2025 23:18
# Conflicts:
#	package.json
#	yarn.lock
@kevinwcyu kevinwcyu force-pushed the kevinwcyu/migrate-to-playwright branch from c6bc0c4 to a4d6e91 Compare January 23, 2025 17:32
@kevinwcyu kevinwcyu force-pushed the kevinwcyu/migrate-to-playwright branch from dfc7c7a to 7f52044 Compare January 23, 2025 18:25
@kevinwcyu kevinwcyu marked this pull request as ready for review January 23, 2025 20:30
@kevinwcyu kevinwcyu marked this pull request as draft January 30, 2025 14:33
@kevinwcyu kevinwcyu marked this pull request as ready for review January 30, 2025 19:13
id="clusterIdText"
value={props.options.jsonData.clusterIdentifier ?? ''}
onChange={() => {}}
{useManagedSecret ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

👏🏻

@kevinwcyu kevinwcyu merged commit a300b15 into main Feb 3, 2025
13 checks passed
@kevinwcyu kevinwcyu deleted the kevinwcyu/migrate-to-playwright branch February 3, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants