Skip to content

Merge pull request #175 from IT2810-H26/backend/hours_played #241

Merge pull request #175 from IT2810-H26/backend/hours_played

Merge pull request #175 from IT2810-H26/backend/hours_played #241

Triggered via push November 11, 2026 09:24
Status Failure
Total duration 5m 40s
Artifacts –

ci.yml

on: push
check-and-deploy
2m 9s
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.