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

reg.json is being generated with different capitalization of folder name resulting in matching new/deleted results in the report #522

Open
KociPApplifting opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@KociPApplifting
Copy link

Describe the bug

The reg.json file shows different capitalization of folder "Form input" resulting in the Report showing (in my case) 124 new/deleted results.
Unfortunately i cannot provide lot of details about my env because of the nature of the project im working on, hopefully the screenshots and command im running will be helpful in isolating the issue, or maybe suggest what i can do on my end to avoid this.

Reproduced step

Steps to reproduce the behavior:

  1. Run "yarn run reg-cli spec/visual_component/actual spec/visual_component/expected spec/visual_component/diff -R spec/visual_component/componentVisualTestReport.html -J spec/visual_component/reg.json -M 0.1 || true" inside github action

Expected behavior

reg.json should show same capitalization of letters in the name of folders, as in generated expected/actual folders

Actual behavior

While folder names (and paths in general) are the same, reg.json is generated with different capitalization of /Form inputs/ and /Form Inputs/

Screenshots

These are the artifacts pipeline uploads after its finished

Here you can see the folders themselves are named correctly and match
Screenshot 2024-11-26 at 15 27 56

Here is inside of the reg.json where you can see different capitalization of /Form inputs/ and /Form Inputs/
Screenshot 2024-11-26 at 15 35 56

Here is resulting issue in the report:
Screenshot 2024-11-26 at 15 45 54

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