Commit 2cd17b4
fix(e2e): move data-test from hidden input to visible wrapper in EnvironmentSelect
React Select puts rest props on the hidden <input>, making
data-test="switch-environment-*-active" invisible to Playwright's
waitForElementVisible. Move it to the wrapping <div> so the selector
resolves to a visible element.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9a4aa64 commit 2cd17b4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments