plone / bobtemplates.plone

Python Code Templates for Plone Projects with mr.bob
https://pypi.org/project/bobtemplates.plone/
GNU General Public License v2.0
24 stars 31 forks source link

Generated robot tests in addon on travis as configured dont run #315

Open jensens opened 6 years ago

jensens commented 6 years ago

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.

MrTango commented 6 years ago

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.