Commit 2bc14de
committed
fix: update Cypress test for corrected create option test ID
The previous code had a typo (Option.name instead of createOption.name)
that made the create option data-testid always resolve to "Option".
Update the test selector to match the corrected test ID.
Also remove unnecessary useMemo around createOptionDisplayName.1 parent 3a742c5 commit 2bc14de
2 files changed
Lines changed: 5 additions & 8 deletions
File tree
- frontend/src/components
- packages/cypress/cypress/tests/mocked/connectionTypes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 154 | + | |
| 155 | + | |
159 | 156 | | |
160 | | - | |
161 | | - | |
| 157 | + | |
| 158 | + | |
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments