Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore section of user principal in percy snapshot test. #604

Open
ravi-sawlani-yral opened this issue Jan 14, 2025 · 0 comments
Open

Ignore section of user principal in percy snapshot test. #604

ravi-sawlani-yral opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels

Comments

@ravi-sawlani-yral
Copy link
Contributor

Motivation

Right now percy compares the whole screen which leads to comparing user principal which is bound to change on every test run leading to failure in every test run.

Suggested Solution

  • use percy snapshot options to ignore sections of screen which contain changing elements like user principal and user profile pic.
@ravi-sawlani-yral ravi-sawlani-yral self-assigned this Jan 14, 2025
@ravi-sawlani-yral ravi-sawlani-yral added CI/CD good first issue Good for newcomers and removed good first issue Good for newcomers labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant