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)
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.
When
reference_image
names are automatically normalised so is thereference_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