Commit 5e602a1
committed
ifix(view): fix strict mode violation in undo-redo E2E test
getByText('Test') matched both command name "Test" and command code "npm test"
Target command name element precisely using getByTestId("command-name")1 parent 30cf581 commit 5e602a1
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
0 commit comments