fix: use column width #31
main.yml
on: push
test
/
react component workflow
2m 26s
Annotations
8 errors
|
test / react component workflow
Process completed with exit code 1.
|
|
tests/FixedHeader.spec.jsx > Table.FixedHeader > do not mask as ant-table-cell-fix-left-last in nested table parent cell:
src/Body/MeasureCell.tsx#L28
TypeError: Cannot use 'in' operator to search for 'width' in undefined
❯ MeasureCell src/Body/MeasureCell.tsx:28:13
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:14803:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:17482:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:18596:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:188:14
❯ HTMLUnknownElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
❯ HTMLUnknownElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLUnknownElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > shadow should display correctly:
tests/FixedColumn.spec.tsx#L306
Error: Snapshot `Table.FixedColumn > shadow should display correctly 1` mismatched
- Expected
+ Received
@@ -206,56 +206,56 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Age
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Street
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Door No.
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Building
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Name
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Company Address
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -269,11 +269,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- Gender
+
</div>
</td>
</tr>
<tr
class="rc-table-row rc-table-row-level-0"
❯ tests/FixedColumn.spec.tsx:306:23
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > fixed column renders correctly RTL:
tests/FixedColumn.spec.tsx#L210
Error: Snapshot `Table.FixedColumn > fixed column renders correctly RTL 1` mismatched
- Expected
+ Received
@@ -126,20 +126,20 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title1
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title2
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -225,11 +225,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title12
+
</div>
</td>
</tr>
<tr
class="rc-table-row rc-table-row-level-0"
❯ tests/FixedColumn.spec.tsx:210:30
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollXY - without data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollXY - without data 1` mismatched
- Expected
+ Received
@@ -163,20 +163,20 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title1
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title2
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -262,11 +262,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title12
+
</div>
</td>
</tr>
<tr
class="rc-table-placeholder"
❯ tests/FixedColumn.spec.tsx:99:36
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollXY - with data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollXY - with data 1` mismatched
- Expected
+ Received
@@ -184,20 +184,20 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title1
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title2
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -283,11 +283,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title12
+
</div>
</td>
</tr>
<tr
class="rc-table-row rc-table-row-level-0"
❯ tests/FixedColumn.spec.tsx:99:36
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollX - without data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollX - without data 1` mismatched
- Expected
+ Received
@@ -130,20 +130,20 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title1
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title2
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -229,11 +229,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title12
+
</div>
</td>
</tr>
<tr
class="rc-table-placeholder"
❯ tests/FixedColumn.spec.tsx:99:36
|
|
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollX - with data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollX - with data 1` mismatched
- Expected
+ Received
@@ -130,20 +130,20 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title1
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title2
+
</div>
</td>
<td
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
@@ -229,11 +229,11 @@
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
>
<div
style="height: 0px; overflow: hidden; font-weight: bold;"
>
- title12
+
</div>
</td>
</tr>
<tr
class="rc-table-row rc-table-row-level-0"
❯ tests/FixedColumn.spec.tsx:99:36
|