Merge pull request #118 from plone/plonezope4

Fixed tests with newer testbrowser.
This commit is contained in:
Jens W. Klein 2017-02-04 17:52:18 +01:00 committed by GitHub
commit daaedbfb76
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -182,7 +182,7 @@ Enable anonymous comment
>>> browser.getControl(name='__ac_password').value = 'secret' >>> browser.getControl(name='__ac_password').value = 'secret'
>>> browser.getControl(name='submit').click() >>> browser.getControl(name='submit').click()
>>> browser.open(portal_url+'/@@discussion-controlpanel') >>> 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.getControl(name='form.buttons.save').click()
>>> browser.open(portal_url + '/logout') >>> browser.open(portal_url + '/logout')
@ -492,7 +492,7 @@ Edit the control panel.
>>> browser.getControl(name='__ac_password').value = 'secret' >>> browser.getControl(name='__ac_password').value = 'secret'
>>> browser.getControl(name='submit').click() >>> browser.getControl(name='submit').click()
>>> browser.open(portal_url+'/@@discussion-controlpanel') >>> 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.getControl(name='form.buttons.save').click()
>>> browser.open(portal_url + '/logout') >>> browser.open(portal_url + '/logout')