-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Provide a general summary of the issue here
This issues tracks all problems occurred when trying to contribute to the repo.
Will see if we can update the CONTRIUBTION.md or any process adjustments can be made.
-
yarn install -
yarn start -
yarn jest
7 Test failures
Summary of all failing tests
FAIL packages/@react-spectrum/list/test/ListView.test.js (48.986 s)
● ListView › height 0 › should render and not infinite loop
expect(element).toBeEmptyDOMElement()
Received:
"<div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"0\" id=\"react-aria-«r1oq»-0\" role=\"row\" aria-label=\"Item 0\" aria-rowindex=\"1\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem react-spectrum-ListViewItem--firstRow\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 0</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"1\" id=\"react-aria-«r1oq»-1\" role=\"row\" aria-label=\"Item 1\" aria-rowindex=\"2\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 1</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"2\" id=\"react-aria-«r1oq»-2\" role=\"row\" aria-label=\"Item 2\" aria-rowindex=\"3\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 2</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"3\" id=\"react-aria-«r1oq»-3\" role=\"row\" aria-label=\"Item 3\" aria-rowindex=\"4\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 3</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"4\" id=\"react-aria-«r1oq»-4\" role=\"row\" aria-label=\"Item 4\" aria-rowindex=\"5\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 4</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"5\" id=\"react-aria-«r1oq»-5\" role=\"row\" aria-label=\"Item 5\" aria-rowindex=\"6\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 5</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"6\" id=\"react-aria-«r1oq»-6\" role=\"row\" aria-label=\"Item 6\" aria-rowindex=\"7\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 6</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"7\" id=\"react-aria-«r1oq»-7\" role=\"row\" aria-label=\"Item 7\" aria-rowindex=\"8\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 7</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"8\" id=\"react-aria-«r1oq»-8\" role=\"row\" aria-label=\"Item 8\" aria-rowindex=\"9\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 8</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"9\" id=\"react-aria-«r1oq»-9\" role=\"row\" aria-label=\"Item 9\" aria-rowindex=\"10\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 9</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"10\" id=\"react-aria-«r1oq»-10\" role=\"row\" aria-label=\"Item 10\" aria-rowindex=\"11\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 10</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"11\" id=\"react-aria-«r1oq»-11\" role=\"row\" aria-label=\"Item 11\" aria-rowindex=\"12\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 11</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"12\" id=\"react-aria-«r1oq»-12\" role=\"row\" aria-label=\"Item 12\" aria-rowindex=\"13\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 12</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"13\" id=\"react-aria-«r1oq»-13\" role=\"row\" aria-label=\"Item 13\" aria-rowindex=\"14\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 13</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"14\" id=\"react-aria-«r1oq»-14\" role=\"row\" aria-label=\"Item 14\" aria-rowindex=\"15\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 14</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"15\" id=\"react-aria-«r1oq»-15\" role=\"row\" aria-label=\"Item 15\" aria-rowindex=\"16\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 15</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"16\" id=\"react-aria-«r1oq»-16\" role=\"row\" aria-label=\"Item 16\" aria-rowindex=\"17\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 16</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"17\" id=\"react-aria-«r1oq»-17\" role=\"row\" aria-label=\"Item 17\" aria-rowindex=\"18\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 17</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"18\" id=\"react-aria-«r1oq»-18\" role=\"row\" aria-label=\"Item 18\" aria-rowindex=\"19\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 18</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div><div role=\"presentation\" style=\"position: absolute; overflow: visible; opacity: 1; z-index: 0; contain: size layout style; top: 0px; left: 0px; width: 0px; height: 0px;\"><div tabindex=\"-1\" data-collection=\"react-aria-«r1op»\" data-key=\"19\" id=\"react-aria-«r1oq»-19\" role=\"row\" aria-label=\"Item 19\" aria-rowindex=\"20\" class=\"react-spectrum-ListView-row round-tops round-bottoms\"><div class=\"react-spectrum-ListViewItem react-spectrum-ListViewItem--lastRow react-spectrum-ListViewItem--isFlushBottom\" role=\"gridcell\" aria-colindex=\"1\"><div style=\"display: grid;\" class=\"react-spectrum-ListViewItem-grid\"><span role=\"none\" class=\"react-spectrum-ListViewItem-content\">Item 19</span><svg class=\"spectrum-Icon spectrum-UIIcon-ChevronRightMedium react-spectrum-ListViewItem-parentIndicator is-disabled\" focusable=\"false\" aria-hidden=\"true\" role=\"img\"><path d=\"M5.99 5a.997.997 0 0 0-.293-.707L1.717.303A1 1 0 1 0 .303 1.717L3.586 5 .303 8.283a1 1 0 1 0 1.414 1.414l3.98-3.99A.997.997 0 0 0 5.99 5z\"></path></svg></div></div></div></div>"
1723 | jest.runAllTimers();
1724 | });
> 1725 | expect(grid.firstChild).toBeEmptyDOMElement();
| ^
1726 | });
1727 | });
1728 | });
at Object.toBeEmptyDOMElement (packages/@react-spectrum/list/test/ListView.test.js:1725:31)
FAIL packages/@react-spectrum/labeledvalue/test/LabeledValue.test.js
● LabeledValue › renders correctly with RangeValue<NumberValue>
expect(element).toHaveTextContent()
Expected element to have text content:
Field label10–20
Received:
Field label10 – 20
273 | let staticField = getByTestId('test-id');
274 | expect(staticField).toBeInTheDocument();
> 275 | expect(staticField).toHaveTextContent('Field label10–20');
| ^
276 | });
277 |
278 | it('renders correctly with ReactElement value', function () {
at Object.toHaveTextContent (packages/@react-spectrum/labeledvalue/test/LabeledValue.test.js:275:25)
FAIL packages/@react-aria/dnd/test/DropTargetKeyboardNavigation.test.tsx
● drop target keyboard navigation › sanity test collection
TypeError: expectedKeys.toReversed is not a function
267 | }
268 |
> 269 | expect(prevKeys).toEqual(expectedKeys.toReversed());
| ^
270 | });
271 |
272 | function collect(keyboardDelegate: KeyboardDelegate, direction: 'up' | 'down' | 'left' | 'right', rtl = false) {
at Object.toReversed (packages/@react-aria/dnd/test/DropTargetKeyboardNavigation.test.tsx:269:43)
● drop target keyboard navigation › should navigate backward vertically
TypeError: results.toReversed is not a function
291 | let keyboardDelegate = new ListKeyboardDelegate(collection, new Set(), createRef());
292 | let results = collect(keyboardDelegate, 'up');
> 293 | expect(results.toReversed()).toEqual(expectedTargets);
| ^
294 | });
295 |
296 | it('should navigate forward horizontally (ltr)', () => {
at Object.toReversed (packages/@react-aria/dnd/test/DropTargetKeyboardNavigation.test.tsx:293:20)
● drop target keyboard navigation › should navigate backward horizontally (ltr)
TypeError: results.toReversed is not a function
327 |
328 | let results = collect(keyboardDelegate, 'left');
> 329 | expect(results.toReversed()).toEqual(expectedTargets);
| ^
330 | });
331 |
332 | it('should navigate backward horizontally (rtl)', () => {
at Object.toReversed (packages/@react-aria/dnd/test/DropTargetKeyboardNavigation.test.tsx:329:20)
● drop target keyboard navigation › should navigate backward horizontally (rtl)
TypeError: results.toReversed is not a function
339 |
340 | let results = collect(keyboardDelegate, 'right', true);
> 341 | expect(results.toReversed()).toEqual(expectedTargets);
| ^
342 | });
343 | });
344 |
at Object.toReversed (packages/@react-aria/dnd/test/DropTargetKeyboardNavigation.test.tsx:341:20)
FAIL packages/@internationalized/date/tests/DateFormatter.test.js
● DateFormatter › should work around buggy hour12 behavior
expect(received).toBe(expected) // Object.is equality
Expected: "午前12時"
Received: "午前0時"
79 |
80 | formatter = new DateFormatter('ja', {hour: 'numeric', hour12: true});
> 81 | expect(formatter.format(new Date(2020, 1, 3, 0))).toBe('午前12時');
| ^
82 | expect(formatter.resolvedOptions().hourCycle).toBe('h12');
83 | });
84 |
at Object.toBe (packages/@internationalized/date/tests/DateFormatter.test.js:81:55)
Test Suites: 4 failed, 328 passed, 332 total
Tests: 7 failed, 46 skipped, 7178 passed, 7231 total
Snapshots: 242 passed, 242 total
Time: 273.426 sWhen running yarn jest again, failed test is reduced to only the first one.
-
yarn build
While I mentioned about the type errors in the past, it actually fails right now:
Build failure
Error: Bundles must have unique names. Conflicting names: packages/@react-spectrum/actiongroup/dist/vars.css,
packages/@react-spectrum/actiongroup/dist/vars.cjs, packages/@react-spectrum/actiongroup/dist/vars.mjs,
packages/@react-spectrum/autocomplete/dist/vars.css, packages/@react-spectrum/autocomplete/dist/vars.cjs,
packages/@react-spectrum/autocomplete/dist/vars.css, packages/@react-spectrum/autocomplete/dist/vars.cjs,
packages/@react-spectrum/autocomplete/dist/vars.mjs, packages/@react-spectrum/autocomplete/dist/vars.mjs,
packages/@react-spectrum/checkbox/dist/vars.css, packages/@react-spectrum/checkbox/dist/vars.cjs,
packages/@react-spectrum/checkbox/dist/vars.mjs, packages/@react-spectrum/color/dist/vars.css,
packages/@react-spectrum/color/dist/vars.cjs, packages/@react-spectrum/color/dist/vars.css,
packages/@react-spectrum/color/dist/vars.cjs, packages/@react-spectrum/color/dist/vars.css,
packages/@react-spectrum/color/dist/vars.cjs, packages/@react-spectrum/color/dist/vars.css,
packages/@react-spectrum/color/dist/vars.cjs, packages/@react-spectrum/color/dist/vars.mjs,
packages/@react-spectrum/color/dist/vars.mjs, packages/@react-spectrum/color/dist/vars.mjs,
packages/@react-spectrum/color/dist/vars.mjs, packages/@react-spectrum/combobox/dist/vars.css,
packages/@react-spectrum/combobox/dist/vars.cjs, packages/@react-spectrum/combobox/dist/vars.css,
packages/@react-spectrum/combobox/dist/vars.cjs, packages/@react-spectrum/combobox/dist/vars.css,
packages/@react-spectrum/combobox/dist/vars.cjs, packages/@react-spectrum/combobox/dist/vars.css,
packages/@react-spectrum/combobox/dist/vars.cjs, packages/@react-spectrum/combobox/dist/vars.mjs,
packages/@react-spectrum/combobox/dist/vars.mjs, packages/@react-spectrum/combobox/dist/vars.mjs,
packages/@react-spectrum/combobox/dist/vars.mjs, packages/@react-spectrum/datepicker/dist/vars.css,
packages/@react-spectrum/datepicker/dist/vars.cjs, packages/@react-spectrum/datepicker/dist/vars.mjs,
packages/@react-spectrum/label/dist/vars.css, packages/@react-spectrum/label/dist/vars.cjs,
packages/@react-spectrum/label/dist/vars.mjs, packages/@react-spectrum/menu/dist/vars.css,
packages/@react-spectrum/menu/dist/vars.cjs, packages/@react-spectrum/menu/dist/vars.css,
packages/@react-spectrum/menu/dist/vars.cjs, packages/@react-spectrum/menu/dist/vars.css,
packages/@react-spectrum/menu/dist/vars.cjs, packages/@react-spectrum/menu/dist/vars.mjs,
packages/@react-spectrum/menu/dist/vars.mjs, packages/@react-spectrum/menu/dist/vars.mjs,
packages/@react-spectrum/overlays/dist/vars.css, packages/@react-spectrum/overlays/dist/vars.cjs,
packages/@react-spectrum/overlays/dist/vars.css, packages/@react-spectrum/overlays/dist/vars.cjs,
packages/@react-spectrum/overlays/dist/vars.css, packages/@react-spectrum/overlays/dist/vars.cjs,
packages/@react-spectrum/overlays/dist/vars.mjs, packages/@react-spectrum/overlays/dist/vars.mjs,
packages/@react-spectrum/overlays/dist/vars.mjs, packages/@react-spectrum/progress/dist/vars.css,
packages/@react-spectrum/progress/dist/vars.cjs, packages/@react-spectrum/progress/dist/vars.mjs,
packages/@react-spectrum/radio/dist/vars.css, packages/@react-spectrum/radio/dist/vars.cjs,
packages/@react-spectrum/radio/dist/vars.mjs🤔 Expected Behavior?
Contributor can easily follow the CONTRIBUTION.md to install, build and run tests that passes.
Also it would be great to setup dev environments to provide consistent development experiences.
😯 Current Behavior
Occurs errors here and there.
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
N/A
Version
N/A
What browsers are you seeing the problem on?
Other
If other, please specify.
N/A
What operating system are you using?
WSL, MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation