Commit 1dfb09c
fix(playwright): fix EditDatasetModal Tabs compatibility + getTab docs
EditDatasetModal passed getByRole('tablist') to Tabs, but the nav
getter expects the .ant-tabs wrapper — clicking tabs would silently
fail. Changed to pass .ant-tabs locator scoped to the dialog.
Also documented getTab substring matching behavior and strict mode
safety net for ambiguous names.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 09b13ba commit 1dfb09c
File tree
2 files changed
+9
-2
lines changed- superset-frontend/playwright/components
- core
- modals
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments