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

When reference image names are automatically normalized so is reference_folder #69

Open
damies13 opened this issue Mar 1, 2022 · 1 comment

Comments

@damies13
Copy link

damies13 commented Mar 1, 2022

When reference_image names are automatically normalised so is the reference_folder which should not be the case.

On Windows this is not a problem as Windows ignores case in paths anyway, It however causes the test case to fail on MacOS and Linux (and probably any other *nix)

https://eficode.github.io/robotframework-imagehorizonlibrary/doc/ImageHorizonLibrary.html#Reference%20image%20names

@damies13
Copy link
Author

damies13 commented Mar 1, 2022

Further Investigation, this line in my robot file

 	Click Image 	Title Bar
  • Windows produces this "D:\a\rfswarm\rfswarm\Tests\Regression\Manager\Images\title_bar" - As expected
  • MacOS produces this "/Users/runner/work/rfswarm/rfswarm/Tests/Regression/Manager/Images/title_bar" - As expected
  • Ubuntu produces this "/home/runner/work/rfswarm/rfswarm/tests/regression/manager/images/title_bar.png" - Not as expected, Notice the entire path has been lower cased

But I haven't found where this is happening in the code, at least we now know it's not happening in MacOS or Windows.

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

No branches or pull requests

1 participant