You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've finally gotten around to trying this out, (thanks for getting the install issue fixed!)
For my current project I've already got a decent amount of most content types, but I was surprised there isn't a way to generate user profiles (unless I missed something). I have an number of roles and groups to test and creating users for each is a pain. Would be great to have a way to generate generic users.
As quick hack I created a user-factory collection. It does most of what I need but still requires copying the email address into the file name and moving files to the users folder. It would be great to have a default way to do this.
As an added bonus it would be helpful if we could tell the factory to generate a single user for each role and/or group configured for the site. Ideally it would set the name and email based on the title of the role/group. (e.g. name: "Role Group"email: "[email protected]") That would make it easier to find the correct file or profile to test for each set of permissions.
I know you're already at work on a refactor. I'm happy to take a stab at a PR if it would be helpful, but I've already met my own needs so figured this might be something to handle after that's done.
The text was updated successfully, but these errors were encountered:
I've finally gotten around to trying this out, (thanks for getting the install issue fixed!)
For my current project I've already got a decent amount of most content types, but I was surprised there isn't a way to generate user profiles (unless I missed something). I have an number of roles and groups to test and creating users for each is a pain. Would be great to have a way to generate generic users.
As quick hack I created a
user-factory
collection. It does most of what I need but still requires copying the email address into the file name and moving files to the users folder. It would be great to have a default way to do this.As an added bonus it would be helpful if we could tell the factory to generate a single user for each role and/or group configured for the site. Ideally it would set the name and email based on the title of the role/group. (e.g.
name: "Role Group"
email: "[email protected]"
) That would make it easier to find the correct file or profile to test for each set of permissions.I know you're already at work on a refactor. I'm happy to take a stab at a PR if it would be helpful, but I've already met my own needs so figured this might be something to handle after that's done.
The text was updated successfully, but these errors were encountered: