Commit a5ca365
committed
test(mainview): cover Exit design mode (sections 5 + 6) and refactor helpers
- Add sections 5 and 6 of the control-bar TODO as user-perspective
integ tests: LP stays open after exit, sidebar+CCB+toolbar fits the
window with a real editor gap, toolbar lands at innerWidth/2.5 when
the toggle itself opened LP, sidebar never snaps wider than its
capped render across the transition, toolbar respects
livePanel.minWidth + iconsBar, and clicking #toolbar-go-live in
design mode exits design mode + hides LP + shrinks the toolbar to
the icon-bar-only width.
- Dedupe the suite's helpers: hoist WorkspaceManager, livePanel(),
openLivePreview(), closeLivePreviewIfOpen(), enterDesignMode(),
exitDesignMode(), resetBaseline() and the common beforeEach /
afterEach to the top-level describe. Section describes now hold
only the tests (plus a tiny section-5 baseline width pin).
- Fix duplicate "3." section numbering — the show-in-file-tree block
is now "2a." to match the TODO md.
- Also include credits.md update.1 parent 5145783 commit a5ca365
3 files changed
Lines changed: 199 additions & 145 deletions
File tree
- src/thirdparty/licences
- test
- spec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 13 | | |
42 | 14 | | |
43 | 15 | | |
| |||
0 commit comments