Commit 6c7e60d
committed
test(ccb): assert title-only swap on design-mode toggle
Follow-up to 1b3e6ce: the design-mode toggle no longer swaps the
pen-nib SVG for fa-code — only the title changes between
CCB_SWITCH_TO_DESIGN_MODE and CCB_SWITCH_TO_CODE_EDITOR. Rewrite the
existing icon-swap test to match the new behavior: still assert the
title flips and that the button's is-active wiring works, but check
that the SVG stays in both states instead of expecting an fa-code
icon in design mode.1 parent 1b3e6ce commit 6c7e60d
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | 338 | | |
340 | | - | |
341 | 339 | | |
342 | 340 | | |
343 | 341 | | |
344 | 342 | | |
345 | | - | |
346 | | - | |
347 | | - | |
| 343 | + | |
348 | 344 | | |
349 | 345 | | |
350 | 346 | | |
351 | 347 | | |
352 | | - | |
353 | 348 | | |
354 | | - | |
355 | 349 | | |
356 | 350 | | |
357 | 351 | | |
| |||
0 commit comments