bobtemplates.plone icon indicating copy to clipboard operation
bobtemplates.plone copied to clipboard

Generated robot tests in addon on travis as configured dont run

Open jensens opened this issue 7 years ago • 1 comments

I generated a package (https://github.com/collective/collective.immediatecreate) about a month ago. Now my intern started writing robot tests for it. She was able to run the tests on her local machine.

On Travis-CI, using the generated .travis-ci.yml and after adding a --all to ``bin/test``` in order to enable robot tests, the following error occurred:

AssertionError: Setup failed:
WebDriverException: Message: Can't load the profile. Profile Dir: /tmp/tmpkPIjBD/webdriver-py-profilecopy If you specified a log_file in the FirefoxBinary constructor, check it for details. 

Now I checked against the current master of bobtemplates.plone, and the .travis-ci.yml.bob there https://github.com/plone/bobtemplates.plone/blob/master/bobtemplates/plone/addon/.travis.yml.bob is not different from our https://github.com/collective/collective.immediatecreate/blob/master/.travis.yml

So I suspect, the generated Travis setup needs some love.

jensens avatar Jul 26 '18 15:07 jensens

I currently only have projects, where i use gitlab CI. So it will probable take a while until i find the time to test it. But feel free to make a PR or give advice, what we should change.

MrTango avatar Oct 16 '18 10:10 MrTango