Commit 96988a5
committed
test(CodeEditor): fix flaky disabled-swap test by queueing setProps
setProps ran synchronously inside .then(), before the queued
'contenteditable=false' assertion — racing Vue's disabled watcher that
flips it back to editable. Wrap setProps in cy.then() so it joins the
command queue after the initial assertion.1 parent 6928e63 commit 96988a5
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | | - | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments