Skip to content

Commit

Permalink
fix robot tests: initially set default page in a way that works with …
Browse files Browse the repository at this point in the history
…auto-csrf checks
  • Loading branch information
davisagli committed Mar 14, 2014
1 parent 097d048 commit 63a6010
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Products/CMFPlone/tests/robot/test_overlays.robot
Expand Up @@ -259,7 +259,12 @@ I set the default content view of the test folder

a document as the default view of the test folder
a document 'doc' in the test folder
Go to ${PLONE_URL}/${TEST_FOLDER}/select_default_page?form.submitted=1&objectId=doc
Go to ${PLONE_URL}/${TEST_FOLDER}
Click link xpath=//li[@id='plone-contentmenu-moreoptions']/a
Wait until element is visible id=contextSetDefaultPage
Click link id=contextSetDefaultPage
Click element id=doc
Click element css=div.modal-footer input[name="form.button.Save"]

I change the default content view of the test folder
Go to ${PLONE_URL}/${TEST_FOLDER}
Expand Down

1 comment on commit 63a6010

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS FAILED
Mr.roboto url : http://jenkins.plone.org/roboto/get_info?push=9e567e5665d6488586b0a2b08c8782f6
plone-5.0-python-2.7 [FAILURE]

Please sign in to comment.