> job-tracker-ui@0.1.0 test > jest --runInBand --watch=false --runTestsByPath src/cv-builder-deep-link.test.tsx --testNamePattern=tablet width keeps both --json --outputFile=../docs/ui-modernisation/a3-cv-tablet-behavior-red.json FAIL src/cv-builder-deep-link.test.tsx (6.264 s) ● tablet width keeps both editing and preview available in the stacked document flow expect(element).not.toBeInTheDocument() expected document not to contain element, found instead 118 | renderAt(3); 119 | await openContentTab(); > 120 | expect(screen.queryByRole('button', { name: 'Edit' })).not.toBeInTheDocument(); | ^ 121 | expect(screen.getByRole('region', { name: 'CV editing controls' })).toBeVisible(); 122 | expect(screen.getByRole('region', { name: 'Live preview' })).toBeVisible(); 123 | expect(mockedApi.put).not.toHaveBeenCalled(); at Object.toBeInTheDocument (src/cv-builder-deep-link.test.tsx:120:64) Test Suites: 1 failed, 1 total Tests: 1 failed, 57 skipped, 58 total Snapshots: 0 total Time: 7.703 s Ran all test suites within paths "src/cv-builder-deep-link.test.tsx". Test results written to: ..\docs\ui-modernisation\a3-cv-tablet-behavior-red.json