Skip to content

Commit

Permalink
Tweak test's plane color, it's slightly different in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Sep 20, 2024
1 parent 41b8e49 commit c0a73fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/playwright/regression-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ const sketch001 = startSketchAt([-0, -0])
const u = await getUtils(page)

// Constants and locators
const planeColor: [number, number, number] = [179, 220, 180]
const planeColor: [number, number, number] = [170, 220, 170]
const bgColor: [number, number, number] = [27, 27, 27]
const middlePixelIsColor = async (color: [number, number, number]) => {
return u.getGreatestPixDiff({ x: 600, y: 250 }, color)
Expand All @@ -566,7 +566,7 @@ const sketch001 = startSketchAt([-0, -0])
timeout: 5000,
message: 'Plane color is visible',
})
.toBeLessThan(10)
.toBeLessThan(15)

let maxZoomOuts = 10
let middlePixelIsBackgroundColor =
Expand Down

0 comments on commit c0a73fa

Please sign in to comment.