Testing user's membership/roles via ATF test case
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 04:52 AM - edited 03-01-2023 04:52 AM
I have a request to build an ATF test case to check if a user has lost access to any of their roles. I have attempted to create and impersonate a user. Assigned that user to the groups that would provide the roles, then attempted to validate that role. I'm not sure if there are security restrictions that is preventing my test to pass.
When first running the ATF case, I watch the user get created. I can see the created user has the correct groups. However after a quick moment, all the groups disappear.
Is there a way to test this functionality via an ATF test case?
0 REPLIES 0