Fixed tests with newer testbrowser.

This commit is contained in:
Maurits van Rees 2017-02-02 20:56:57 +01:00 committed by Jens W. Klein
parent fae88523be
commit b5eebe0cc8
2 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,9 @@ New features:
Bug fixes:
- *add item here*
- Fixed tests with newer testbrowser.
[mauristvanrees]
- Remove deprecated __of__ calls on BrowserViews
[MrTango]

View File

@ -182,7 +182,7 @@ Enable anonymous comment
>>> browser.getControl(name='__ac_password').value = 'secret'
>>> browser.getControl(name='submit').click()
>>> browser.open(portal_url+'/@@discussion-controlpanel')
>>> browser.getControl(name='form.widgets.anonymous_comments:list').value = [True]
>>> browser.getControl(name='form.widgets.anonymous_comments:list').value = 'selected'
>>> browser.getControl(name='form.buttons.save').click()
>>> browser.open(portal_url + '/logout')
@ -492,7 +492,7 @@ Edit the control panel.
>>> browser.getControl(name='__ac_password').value = 'secret'
>>> browser.getControl(name='submit').click()
>>> browser.open(portal_url+'/@@discussion-controlpanel')
>>> browser.getControl(name='form.widgets.anonymous_email_enabled:list').value = [True]
>>> browser.getControl(name='form.widgets.anonymous_email_enabled:list').value = 'selected'
>>> browser.getControl(name='form.buttons.save').click()
>>> browser.open(portal_url + '/logout')