vitest@3.2.3, eslint@9.28.0
#5395
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
|
test/browser/copyPaste.test.tsx > should call onCellCopy on cell copy:
test/browser/copyPaste.test.tsx#L75
AssertionError: expected "spy" to be called once with arguments: [ { row: { col: 'a1' }, …(1) }, …(1) ]
Number of calls: 0
❯ test/browser/copyPaste.test.tsx:75:24
|
|
test/browser/copyPaste.test.tsx > should call onCellPaste on cell paste:
test/browser/copyPaste.test.tsx#L88
AssertionError: expected "spy" to be called once with arguments: [ { row: { col: 'a1' }, …(1) }, …(1) ]
Number of calls: 0
❯ test/browser/copyPaste.test.tsx:88:25
|
|
test/browser/copyPaste.test.tsx > should allow copying a readonly cell:
test/browser/copyPaste.test.tsx#L108
AssertionError: expected "spy" to be called once with arguments: [ { row: { col: 'a3' }, …(1) }, …(1) ]
Number of calls: 0
❯ test/browser/copyPaste.test.tsx:108:24
|
|
test/browser/copyPaste.test.tsx > should not start editing when pressing ctrl+<input key>:
test/browser/copyPaste.test.tsx#L136
Error: Matcher did not succeed in time.
❯ test/browser/copyPaste.test.tsx:136:46
Caused by: Caused by: VitestBrowserElementError: Cannot find element with locator: getByRole('gridcell', { selected: true }).or(getByRole('columnheader', { selected: true })).first()
<body>
<div>
<div
aria-colcount="1"
aria-rowcount="5"
class="rdg root_rnvodz5"
dir="ltr"
role="grid"
style="grid-template-columns: 1918px; grid-template-rows: repeat(1, 35px) repeat(3, 35px) repeat(1, 35px); --rdg-header-row-height: 35px; --rdg-scroll-height: 177px;"
tabindex="0"
>
<div
aria-rowindex="1"
class="rdg-header-row headerRow_h10tskcx"
role="row"
>
<div
aria-colindex="1"
aria-rowspan="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="columnheader"
style="inset-block-start: 0px; grid-area: 1 / 1 / 2 / 2; padding-block-start: calc(0 * var(--rdg-header-row-height));"
tabindex="-1"
>
Col
</div>
</div>
<div
aria-rowindex="2"
class="rdg-row row_r1upfr80 rdg-row-even"
role="row"
style="--rdg-grid-row-start: 2;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a1
</div>
</div>
<div
aria-rowindex="3"
class="rdg-row row_r1upfr80 rdg-row-odd"
role="row"
style="--rdg-grid-row-start: 3;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a2
</div>
</div>
<div
aria-rowindex="4"
class="rdg-row row_r1upfr80 rdg-row-even"
role="row"
style="--rdg-grid-row-start: 4;"
>
<div
aria-colindex="1"
aria-readonly="true"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a3
</div>
</div>
<div
aria-rowindex="5"
class="rdg-row row_r1upfr80 rdg-row-odd rdg-summary-row summaryRow_skuhp55 rdg-bottom-summary-row"
role="row"
style="--rdg-grid-row-start: 5; --rdg-summary-row-top: 313px;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0 summaryCellClassname_s8wc6fl"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
s1
</div>
</div>
<div
class="measuringCellClassname_mlln6zg"
data-measuring-cell-key="col"
style="grid-column-start: 1; min-width: 50px;"
/>
</div>
</div>
</body>
|
|
test/browser/dragFill.test.tsx > should allow dragFill if onFill is specified:
test/browser/dragFill.test.tsx#L59
Error: Matcher did not succeed in time.
❯ test/browser/dragFill.test.tsx:59:49
Caused by: Caused by: Error: expect(element).toHaveFocus()
Expected element with focus:
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a1
</div>
Received element with focus:
<body>········
<vite-error-overlay />
<div>
<div
aria-colcount="1"
aria-rowcount="5"
class="rdg root_rnvodz5"
dir="ltr"
role="grid"
style="grid-template-columns: 1918px; grid-template-rows: repeat(1, 35px) repeat(4, 35px); --rdg-header-row-height: 35px; --rdg-scroll-height: 177px;"
tabindex="0"
>
<div
aria-rowindex="1"
class="rdg-header-row headerRow_h10tskcx"
role="row"
>
<div
aria-colindex="1"
aria-rowspan="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="columnheader"
style="inset-block-start: 0px; grid-area: 1 / 1 / 2 / 2; padding-block-start: calc(0 * var(--rdg-header-row-height));"
tabindex="-1"
>
Col
</div>
</div>
<div
aria-rowindex="2"
class="rdg-row row_r1upfr80 rdg-row-even"
role="row"
style="--rdg-grid-row-start: 2;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a1
</div>
</div>
<div
aria-rowindex="3"
class="rdg-row row_r1upfr80 rdg-row-odd"
role="row"
style="--rdg-grid-row-start: 3;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a2
</div>
</div>
<div
aria-rowindex="4"
class="rdg-row row_r1upfr80 rdg-row-even"
role="row"
style="--rdg-grid-row-start: 4;"
>
<div
aria-colindex="1"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a3
</div>
</div>
<div
aria-rowindex="5"
class="rdg-row row_r1upfr80 rdg-row-odd"
role="row"
style="--rdg-grid-row-start: 5;"
>
<div
aria-colindex="1"
aria-readonly="true"
aria-selected="false"
class="rdg-cell cell_cj343x0"
role="gridcell"
style="grid-column: 1 / 2;"
tabindex="-1"
>
a4
</div>
</div>
<div
class="measuringCellClassname_mlln6zg"
data-measuring-cell-key="col"
style="grid-column-start: 1; min-width: 50px;"
/>
</div>
</div>
</body>
|
|
test/browser/dragFill.test.tsx > should update single row using mouse:
test/browser/dragFill.test.tsx#L67
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ test/browser/dragFill.test.tsx:67:0
|
|
test/browser/dragFill.test.tsx > should update multiple rows using mouse:
test/browser/dragFill.test.tsx#L76
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ test/browser/dragFill.test.tsx:76:0
|
|
test/browser/dragFill.test.tsx > should allow drag up using mouse:
test/browser/dragFill.test.tsx#L85
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ test/browser/dragFill.test.tsx:85:0
|
|
test/browser/dragFill.test.tsx > should focus the cell when drag handle is clicked:
test/browser/dragFill.test.tsx#L99
TypeError: Cannot read properties of null (reading 'click')
❯ test/browser/dragFill.test.tsx:99:18
|
|
test/browser/rowSelection.test.tsx > should partially select header checkbox:
test/browser/rowSelection.test.tsx#L98
Error: expect(element).toBePartiallyChecked()
Received element is not partially checked:
<input
aria-label="Select All"
class="rdg-checkbox-input checkbox_c1bn88vv"
tabindex="-1"
type="checkbox"
/>
❯ test/browser/rowSelection.test.tsx:98:25
|