plone / plone.app.robotframework

Provides Robot Framework compatible resources and tools for writing functional Selenium tests (including acceptance tests) for Plone CMS and its add-ons.
https://docs.plone.org/external/plone.app.robotframework/docs/source/index.html
11 stars 17 forks source link

Create user with roles #78

Closed ksuess closed 6 years ago

ksuess commented 6 years ago

Issue https://github.com/plone/plone.app.robotframework/issues/77

  1. Create user siteadmin Contributor Reviewer Site Administrator
  2. Create user siteadmin2 roles=('Contributor','Reviewer','Site Administrator')

None of the two creates a user as expected.

  1. creates a user with roles ('Member',)
  2. creates a user with roles ('Contributor','Reviewer','Site Administrator'), missing role 'Member'
ksuess commented 6 years ago

Hi @datakurre, please be so kind and make a review. thank you

datakurre commented 6 years ago

@ksuess Thanks for reminding us about this. And especially for adding tests.

Which version have you been using by yourself?

I will propose a few changes:

I will write a pull for this pull.

datakurre commented 6 years ago

@ksuess Thanks for contribution and pushing to get this fixed.