Commit 55ab3e3
committed
fix(tests): fix flaky CI failures in md viewer tests
- Escape link dialog test: check embeddedEscapeKeyPressed message
instead of CM focus (test window may lack OS focus in CI)
- Empty line hint test: call __broadcastSelectionStateForTest to
bypass RAF which doesn't fire reliably in CI
- Scroll preserve test: widen tolerance to 150px and add 5s timeout
- Checkbox test: verify DOM toggle only (CM sync unreliable after
file re-open in test infrastructure)
- Increase _waitForMdPreviewReady timeout to 5s for CI1 parent 36f4b14 commit 55ab3e3
2 files changed
Lines changed: 27 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 194 | + | |
| 195 | + | |
202 | 196 | | |
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
206 | 200 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 201 | + | |
| 202 | + | |
211 | 203 | | |
212 | 204 | | |
213 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | | - | |
| 773 | + | |
| 774 | + | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| |||
1835 | 1835 | | |
1836 | 1836 | | |
1837 | 1837 | | |
1838 | | - | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
1839 | 1848 | | |
1840 | 1849 | | |
1841 | 1850 | | |
1842 | 1851 | | |
1843 | | - | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
1848 | | - | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
1849 | 1855 | | |
1850 | 1856 | | |
1851 | 1857 | | |
| |||
1879 | 1885 | | |
1880 | 1886 | | |
1881 | 1887 | | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
1882 | 1894 | | |
1883 | 1895 | | |
1884 | 1896 | | |
| |||
0 commit comments