Skip to content

chore(deps): Update dependency @types/debounce to v1.2.4 #340

chore(deps): Update dependency @types/debounce to v1.2.4

chore(deps): Update dependency @types/debounce to v1.2.4 #340

Triggered via pull request July 25, 2024 00:23
Status Failure
Total duration 32s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
src/__tests__/AddressSuggestions.test.tsx > AddressSuggestions > correctly types and selects suggestions: 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 > AddressSuggestions > correctly navigates by keyboard up and down arrows: 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="VCEMPMSKUpxKLCGkYupbw" aria-expanded="true" aria-haspopup="listbox" aria-owns="VCEMPMSKUpxKLCGkYupbw" 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="VCEMPMSKUpxKLCGkYupbw" 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="VCEMPMSKUpxKLCGkYupbw" aria-expanded="true" aria-haspopup="listbox" aria-owns="VCEMPMSKUpxKLCGkYupbw" 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="VCEMPMSKUpxKLCGkYupbw" 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 > AddressSuggestions > correctly fires onChange by Enter: 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 > PartySuggestions > correctly types and selects suggestions: 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
test (18)
Process completed with exit code 1.
test (20)
The job was canceled because "_18" failed.
src/__tests__/AddressSuggestions.test.tsx > AddressSuggestions > correctly types and selects suggestions: 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 > AddressSuggestions > correctly navigates by keyboard up and down arrows: 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="HYbcKUvcZDnhfw8HA1S0f" aria-expanded="true" aria-haspopup="listbox" aria-owns="HYbcKUvcZDnhfw8HA1S0f" 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="HYbcKUvcZDnhfw8HA1S0f" 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="HYbcKUvcZDnhfw8HA1S0f" aria-expanded="true" aria-haspopup="listbox" aria-owns="HYbcKUvcZDnhfw8HA1S0f" 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="HYbcKUvcZDnhfw8HA1S0f" 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 > AddressSuggestions > correctly fires onChange by Enter: 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 > PartySuggestions > correctly types and selects suggestions: 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
test (20)
Process completed with exit code 1.
test (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (18)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, pnpm/action-setup@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/