Commit fe1e63c
The locator `main.getByRole('button', { name: /database/i })` matched
500+ sidebar page buttons (e.g. "Untitled Database just now") in addition
to the header action button, causing a strict mode violation.
Scope the button locators to the header row by navigating to the h1's
parent container, which contains only the workspace title and the two
action buttons.
Co-authored-by: Ona <no-reply@ona.com>
1 parent a89eb99 commit fe1e63c
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments