You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(playwright): positional tab switch + direct goto for saved-query nav
Two CI failures in the required (non-experimental) playwright-tests job:
1. preserves-query-state: getTab("Untitled Query 1") matched 2 elements
because newQueryTabName can assign duplicate names depending on
server-side tab state from prior tests. Fix: use .first()/.last()
positional selection instead of name-only lookup.
2. saves-a-query: clicking the React Router <Link> in the saved
queries list never navigated — URL stayed at savedqueryview/list/.
The <Link> uses makeUrl()/ensureAppRoot() which double-prefixes
with Router basename, causing silent navigation failure. Fix: use
page.goto() for the SQL Lab load path; the list search already
proves the query appears in the UI.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments