34 lines
3.3 KiB
Plaintext
34 lines
3.3 KiB
Plaintext
|
|
> job-tracker-ui@0.1.0 test
|
|
> jest --runInBand job-table-density.test.tsx -t explicit selection mode
|
|
|
|
node.exe : FAIL src/job-table-density.test.tsx
|
|
At line:1 char:1
|
|
+ & "C:\Program Files\nodejs/node.exe" "C:\Program Files\nodejs/node_mo ...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (FAIL src/job-table-density.test.tsx:String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
● ordinary applications hide checkboxes until explicit selection mode and discard selection on exit
|
|
|
|
expect(element).not.toBeInTheDocument()
|
|
|
|
expected document not to contain element, found <input aria-label="Select Platform engineer"
|
|
class="PrivateSwitchBase-input css-gjsmck-MuiSwitchBase-root" data-indeterminate="false" type="checkbox" /> instead
|
|
|
|
39 | const row = await screen.findByRole("row", { name: /platform engineer/i });
|
|
40 | const readsBefore = calls().length;
|
|
> 41 | expect(within(row).queryByRole("checkbox")).not.toBeInTheDocument();
|
|
| ^
|
|
42 | expect(screen.queryByRole("checkbox", { name: t.jobTableSelectAll })).not.toBeInTheDocument();
|
|
43 | const selection = screen.getByRole("button", { name: "Select applications" });
|
|
44 | fireEvent.click(selection);
|
|
|
|
at Object.toBeInTheDocument (src/job-table-density.test.tsx:41:51)
|
|
|
|
Test Suites: 1 failed, 1 total
|
|
Tests: 1 failed, 12 skipped, 13 total
|
|
Snapshots: 0 total
|
|
Time: 4.11 s, estimated 11 s
|
|
Ran all test suites matching job-table-density.test.tsx with tests matching "explicit selection mode".
|