Skip to content

chore(deps-dev): bump @playwright/test from 1.61.0 to 1.61.1 in /superset-frontend#113

Open
devin-ai-integration[bot] wants to merge 3 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/playwright/test-1.61.1
Open

chore(deps-dev): bump @playwright/test from 1.61.0 to 1.61.1 in /superset-frontend#113
devin-ai-integration[bot] wants to merge 3 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/playwright/test-1.61.1

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jul 1, 2026

Copy link
Copy Markdown

SUMMARY

Re-applies the Dependabot bump of @playwright/test from 1.61.0 → 1.61.1 (tracking apache/superset#41616) and fixes the two failing jest shards (sharded-jest-tests (5) and sharded-jest-tests (7)).

Fixes #111

Dependency bump: superset-frontend/package.json and lockfile updated.

Test fixes:

  • TablePreview.test.tsx: The component uses ActionButton which sets data-test={label}. The previous test used getByRole('button', { name: 'sync' }) / { name: 'eye' } to find buttons by icon name, but the accessible name computation varies depending on whether the wrapping Tooltip injects aria-label. Switched to getByTestId('Refresh table schema') / getByTestId('Show CREATE VIEW statement') which matches the stable data-test attribute. Also removed the stale IconTooltip mock.

  • SavedQueryList.test.tsx: findByRole('button', { name: /query/i }) matched both the "+ Query" button (accessible name "plus Query") and the "Query preview" action button. Changed to /plus.*query/i to disambiguate.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A — no UI changes.

TESTING INSTRUCTIONS

CI should pass sharded-jest-tests shards 5 and 7.

ADDITIONAL INFORMATION

Link to Devin session: https://app.devin.ai/sessions/98391997ffaa4db98b06f4917cf99f8a

devin-ai-integration Bot and others added 2 commits July 1, 2026 10:42
…rset-frontend

Co-Authored-By: bot_apk <apk@cognition.ai>
TablePreview: use accessible labels ('Refresh table schema',
'Show CREATE VIEW statement') instead of icon names ('sync', 'eye'),
and remove unused IconTooltip mock since the component uses ActionButton.

SavedQueryList: disambiguate the '+ Query' button selector from the
'Query preview' action button by matching 'plus.*query' instead of
the bare /query/i regex.

Co-Authored-By: bot_apk <apk@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

The accessible name of ActionButton varies across environments
(icon aria-label vs tooltip aria-label). Use the stable data-test
attribute instead of getByRole with accessible names.

Co-Authored-By: bot_apk <apk@cognition.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[dependabot-remediation] chore(deps-dev): bump @playwright/test from 1.61.0 to 1.61.1 in /superset-frontend (upstream #41616)

0 participants