Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Yes
Description
FileUpload#fromResource only returns a valid File for resources of the local project. For resources in dependencies it returns one that does not exist as in this case the URL of the resource points to a jar file. In such cases affected tests fail:
java.io.FileNotFoundException: file:/var/lib/jenkins/maven-local-repo/info/magnolia/bundle/test/tests/6.3-SNAPSHOT/tests-6.3-SNAPSHOT-tests.jar!/me.jpg at info.magnolia.test.selenium.pageobjects.FileUpload.upload(FileUpload.java:79) at info.magnolia.test.selenium.pageobjects.Form.uploadFile(Form.java:354)
Checklists
Acceptance criteria