Skip to content

Commit

Permalink
Fixing no plone app robot dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodbare committed Sep 21, 2018
1 parent 4b2da25 commit 263e6ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/__init__.robot
Expand Up @@ -6,7 +6,7 @@ Library SeleniumLibrary timeout=10 implicit_wait=0
Library OperatingSystem
Library Process
Library WebpackLibrary
Library plone.app.robotframework.Zope2Server



Suite Setup Suite Setup
Expand Down Expand Up @@ -35,11 +35,16 @@ Start Guillotina Backend
Log To Console ${result.stderr}

Start Plone Backend
Import Library plone.app.robotframework.Zope2Server
${PORT}= Get Environment Variable ZSERVER_PORT 55001
Set Environment Variable API_PATH http://localhost:${PORT}/plone
Set Environment Variable Z3C_AUTOINCLUDE_DEPENDENCIES_DISABLED 1
Start Zope server ${FIXTURE}

Stop Plone Backend
Import Library plone.app.robotframework.Zope2Server
Stop Zope server

Start Plone React
Log To Console Starting Webpack
Start Webpack yarn start
Expand All @@ -53,5 +58,5 @@ Suite Setup

Suite Teardown
Stop Webpack
Run Keyword If '${API}' == 'Plone' Stop Zope server
Run Keyword If '${API}' == 'Plone' Stop Plone Backend
Run Keyword If '${API}' == 'Guillotina' Run docker-compose -f g-api/docker-compose-local.yaml stop

0 comments on commit 263e6ce

Please sign in to comment.