chore(deps): Update dependency postcss to v8.4.31 [SECURITY] - autoclosed #330
Annotations
6 errors
|
src/__tests__/AddressSuggestions.test.tsx#L115
Error: expect(element).toHaveFocus()
Expected element with focus:
<input
autocomplete="off"
class="react-dadata__input"
value="Мо"
/>
Received element with focus:
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
>
<span
aria-label="г Москва"
>
<span
aria-hidden="true"
>
г·
</span>
<mark
aria-hidden="true"
class="react-dadata--highlighted"
>
Мо
</mark>
<span
aria-hidden="true"
>
сква
</span>
</span>
</button>
❯ src/__tests__/AddressSuggestions.test.tsx:115:19
|
src/__tests__/AddressSuggestions.test.tsx#L189
TestingLibraryElementError: Unable to find an accessible element with the role "option"
Here are the accessible roles:
combobox:
Name "":
<div
aria-controls="MyE2oWsU5IybtvdTXs5FB"
aria-expanded="true"
aria-haspopup="listbox"
aria-owns="MyE2oWsU5IybtvdTXs5FB"
class="react-dadata react-dadata__container"
role="combobox"
/>
--------------------------------------------------
textbox:
Name "":
<input
autocomplete="off"
class="react-dadata__input"
value="М"
/>
--------------------------------------------------
listbox:
Name "":
<ul
aria-expanded="true"
class="react-dadata__suggestions"
id="MyE2oWsU5IybtvdTXs5FB"
role="listbox"
/>
--------------------------------------------------
option:
Name "г Москва":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Московская обл":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Ханты-Мансийский Автономный округ - Югра":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Респ Мордовия":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Мурманская обл":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Респ Марий Эл":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
Name "Магаданская обл":
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
aria-controls="MyE2oWsU5IybtvdTXs5FB"
aria-expanded="true"
aria-haspopup="listbox"
aria-owns="MyE2oWsU5IybtvdTXs5FB"
class="react-dadata react-dadata__container"
role="combobox"
>
<div>
<input
autocomplete="off"
class="react-dadata__input"
value="М"
/>
</div>
<ul
aria-expanded="true"
class="react-dadata__suggestions"
id="MyE2oWsU5IybtvdTXs5FB"
role="listbox"
>
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
>
<span
aria-label="г Москва"
>
<span
aria-hidden="true"
>
г
</span>
<mark
aria-hidden="true"
class="react-dadata--highlighted"
>
М
</mark>
<span
aria-hidden="true"
>
осква
</span>
</span>
</button>
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
>
<span
aria-label="Московская обл"
>
<mark
aria-hidden="true"
class="react-dadata--highlighted"
>
М
</mark>
<span
aria-hidden="true"
>
осковская обл
</span>
</span>
</button>
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
>
<span
aria-label="Ханты-Мансийский Автономный округ - Югра"
>
<span
aria-hidden="true"
>
Ханты-
</span>
<mark
aria-hidden="true"
class="react-dadata--highlighted"
>
М
</mark>
<span
aria-hidden="true"
>
ансийский Автоно
</span>
<mark
aria-hidden="true"
class="react-dadata--highlighted"
>
м
</mark>
|
src/__tests__/AddressSuggestions.test.tsx#L256
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/AddressSuggestions.test.tsx:256:48
|
src/__tests__/PartySuggestions.test.tsx#L103
Error: expect(element).toHaveFocus()
Expected element with focus:
<input
autocomplete="off"
class="react-dadata__input"
value="ск"
/>
Received element with focus:
<button
aria-selected="false"
class="react-dadata__suggestion"
role="option"
>
<div>
<div>
<span
aria-label="АО "ЖИЛЦЕНТР СК""
>
<span
aria-hidden="true"
>
АО "ЖИЛЦЕНТР·
</span>
<span
aria-hidden="true"
class="react-dadata--highlighted"
>
СК
</span>
<span
aria-hidden="true"
>
"
</span>
</span>
</div>
<div
class="react-dadata__suggestion-subtitle"
>
<div
class="react-dadata__suggestion-subtitle-item"
>
7709324424
</div>
<div
class="react-dadata__suggestion-subtitle-item"
>
<span
aria-label="г Москва, ул Гурьянова, д 4 к 2, помещ XXV"
>
<span
aria-hidden="true"
>
г Мо
</span>
<span
aria-hidden="true"
class="react-dadata--highlighted"
>
ск
</span>
<span
aria-hidden="true"
>
ва, ул Гурьянова, д 4 к 2, помещ XXV
</span>
</span>
</div>
</div>
</div>
</button>
❯ src/__tests__/PartySuggestions.test.tsx:103:19
|
|
This job was cancelled
Loading