Commit 3f5ae14
committed
fix(test): wait for checkboxes to render after mode switch
The checkbox enable/disable test was flaky because _getCheckboxes() ran
before the DOM re-rendered after mode switch. Add awaitsFor to wait for
checkboxes to appear before asserting.1 parent 80964c7 commit 3f5ae14
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| |||
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
| |||
0 commit comments