-
Task
-
Resolution: Resolved
-
Critical
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Yes
Add the new user to
- info.magnolia.test.saas.infra.subscription.UserRepository
- info.magnolia.test.saas.SaasTestsuiteConfiguration
Add self test which ...
- not yet sure what the self-test- should do ...
The saas-TF should be able to
- create a new sub - as we did until now
- Optionally - in the process of creating the sub with its users - saas-infra-connectors also allows to add an additional user to the sub - The "editable-test-user"
- Or expose a method to SaasTestsuiteInitializer to add the editable user (also see
MGNLTEST-373) - since not every test-suite may need that "editable-test-user"- see MGNLTEST-378
Implementation details
As the test user needs to be assigned to the subscription with a given role, this task can be considered a particular case of MGNLTEST-320.
Issue:
When adding a new user to a sub
And using this user to login
Then the UI ask to agree in "Terms in conditions"
... which currently screws up tests. Right now on UI tests we can not properly handle agree in "Terms in conditions".
nguyen.phung told me he would know how to call the API to ensure such user must not agree in terms&conditions
Acceptance criteria
- depends upon
-
MGNLTEST-320 Add test-users EDITOR, PUBLISHER, DEVELOPER to UserRepository and expose them in SaasTestsuiteConfiguration
- Open