Skip to content

Backend/review changes #240

Backend/review changes

Backend/review changes #240

Triggered via pull request November 11, 2026 09:24
Status Failure
Total duration 3m 6s
Artifacts –

ci.yml

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

Annotations

4 errors
test/components/GameCard.test.tsx > GameCard > henter et nedskalert bilde fra RAWG i stedet for originalen: frontend/test/components/GameCard.test.tsx#L41
Error: expect(element).toHaveAttribute("src", "https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg") // element.getAttribute("src") === "https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg" Expected the element to have attribute: src="https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg" Received: src="https://media.rawg.io/media/resize/420/-/games/618/witcher.jpg" ❯ test/components/GameCard.test.tsx:41:17
test/components/GameCard.test.tsx > GameCard > bruker større bilder i rutenett og utstilling: frontend/test/components/GameCard.test.tsx#L59
AssertionError: expected 'https://media.rawg.io/media/resize/42…' to contain '/resize/640/' Expected: "/resize/640/" Received: "https://media.rawg.io/media/resize/420/-/games/618/witcher.jpg" ❯ test/components/GameCard.test.tsx:59:49
check-and-deploy
Process completed with exit code 1.
check-and-deploy
Process completed with exit code 1.