Skip to content

chore: Set screenshot threshold and kernel_size for all tests#284

Draft
gadenbuie wants to merge 7 commits intomainfrom
chore/set-screenshot-threshold
Draft

chore: Set screenshot threshold and kernel_size for all tests#284
gadenbuie wants to merge 7 commits intomainfrom
chore/set-screenshot-threshold

Conversation

@gadenbuie
Copy link
Copy Markdown
Member

Following the logic in 301-bs-themes tests but with smaller kernel size

# Allow for a 10% difference in the screenshot kernel
# 3000 / (3x RGB channels * 100 * 100) = 3000 / 30000 = 10%
app$expect_screenshot(threshold = 3000, kernel_size = 100)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant