Skip to content

Feat/update visning #215

Feat/update visning

Feat/update visning #215

Triggered via pull request November 10, 2026 12:27
Status Failure
Total duration 2m 22s
Artifacts –

ci.yml

on: pull_request
check-and-deploy
2m 14s
check-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

11 errors
test/apollo/GameSearch.test.tsx > GameSearch > unødvendige forespørsler (krav i oppgaven) > sender bare én forespørsel når brukeren skriver et helt ord raskt (debounce): frontend/test/apollo/GameSearch.test.tsx#L67
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_1_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_1_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_1_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_1_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_1_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_1_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:67:20
test/apollo/GameSearch.test.tsx > GameSearch > unødvendige forespørsler (krav i oppgaven) > fjerner mellomrom rundt teksten før den sendes: frontend/test/apollo/GameSearch.test.tsx#L75
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_2_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_2_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_2_-input" placeholder="Søk etter spill …" role="combobox" type="search" value=" zelda " /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_2_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_2_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_2_-input" placeholder="Søk etter spill …" role="combobox" type="search" value=" zelda " /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:75:20
test/apollo/GameSearch.test.tsx > GameSearch > unødvendige forespørsler (krav i oppgaven) > spør ikke på nytt når samme søk skrives igjen, fordi svaret ligger i cachen: frontend/test/apollo/GameSearch.test.tsx#L82
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_3_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_3_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_3_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_3_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_3_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_3_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:82:20
test/apollo/GameSearch.test.tsx > GameSearch > viser forslagene i en listbox med navn og år: frontend/test/apollo/GameSearch.test.tsx#L93
TestingLibraryElementError: Unable to find role="option" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_4_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_4_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_4_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="ZELDA" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_4_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_4_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_4_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="ZELDA" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:93:34
test/apollo/GameSearch.test.tsx > GameSearch > tastatur (WAI-ARIA combobox) > flytter markeringen med piltastene og velger med Enter: frontend/test/apollo/GameSearch.test.tsx#L113
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_6_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_6_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_6_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_6_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_6_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_6_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:113:20
test/apollo/GameSearch.test.tsx > GameSearch > tastatur (WAI-ARIA combobox) > går ikke forbi siste forslag: frontend/test/apollo/GameSearch.test.tsx#L130
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_7_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_7_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_7_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_7_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_7_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_7_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:130:20
test/apollo/GameSearch.test.tsx > GameSearch > tastatur (WAI-ARIA combobox) > lukker lista med Escape: frontend/test/apollo/GameSearch.test.tsx#L138
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_8_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_8_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_8_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_8_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_8_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_8_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:138:20
test/apollo/GameSearch.test.tsx > GameSearch > velger et forslag med musa: frontend/test/apollo/GameSearch.test.tsx#L154
TestingLibraryElementError: Unable to find role="option" and name `/Zelda II/` Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_a_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_a_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_a_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_a_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_a_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_a_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zel" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:154:35
test/apollo/GameSearch.test.tsx > GameSearch > viser ikke gamle forslag når feltet tømmes: frontend/test/apollo/GameSearch.test.tsx#L179
TestingLibraryElementError: Unable to find role="listbox" Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_d_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_d_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_d_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <form class="game-search" role="search" > <label class="game-search__label" for="_r_d_-input" > Søk etter spill </label> <input aria-autocomplete="list" aria-controls="_r_d_-list" aria-expanded="false" autocomplete="off" class="game-search__input" id="_r_d_-input" placeholder="Søk etter spill …" role="combobox" type="search" value="zelda" /> <button aria-label="Tøm søk" class="game-search__clear" type="button" > × </button> <div class="game-search__popup" > <p class="game-search__status" role="status" > Ingen treff </p> </div> </form> <div data-state="null" data-testid="location" > / </div> </div> </body> ❯ waitForWrapper ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ test/apollo/GameSearch.test.tsx:179:18
check-and-deploy
Process completed with exit code 1.
check-and-deploy
Process completed with exit code 1.