Allow passing a name to roleCreate, so roles are not created with random names
I'm writing a scenario where I need to create some roles with specific permissions, and I want to provide the name of the role. The existing roleCreate methods for the Drupal 7 and Drupal 8 cores don't allow passing in a name. This would be helpful.
Are these existing roles? If it's just a subset of permissions, do you need the role name later in the scenario? If they are existing roles, there are the step definitions to create a user with specific named-roles...
I need the role name, because my test involves checking to ensure that a role with a specific set of permissions shows up on a certain configuration form.
For now I created my own step definition to do it, I just think it would be useful to incorporate.