-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add when step to create new regular user using api for the acceptance tests #36724
Add when step to create new regular user using api for the acceptance tests #36724
Conversation
d068ded
to
528870f
Compare
Codecov Report
@@ Coverage Diff @@
## master #36724 +/- ##
=========================================
Coverage 64.68% 64.68%
Complexity 19118 19118
=========================================
Files 1269 1269
Lines 74775 74775
Branches 1320 1320
=========================================
Hits 48369 48369
Misses 26018 26018
Partials 388 388
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding when you can split given-when like @kiranparajuli589 did
248077c
to
3f7e901
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Suggestion: Change the description and mention the related issues, PRs |
@@ -365,6 +365,7 @@ public function theseUsersHaveBeenCreatedWithoutSkeletonFiles(TableNode $table) | |||
|
|||
/** | |||
* @Given /^these users have been created with ?(default attributes and|) skeleton files ?(but not initialized|):$/ | |||
* @When /^the administrator creates a regular user with ?(default attributes and|) skeleton files ?(but not initialized|):$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @When /^the administrator creates a regular user with ?(default attributes and|) skeleton files ?(but not initialized|):$/ | |
* @When /^the administrator creates these users with ?(default attributes and|) skeleton files ?(but not initialized|):$/ |
At the moment it sounds like no table is required. But actually this step has to have a table of users, and it can have 1 or many users that can have any user names.
3f7e901
to
42e413e
Compare
Description
Add when step to create a new regular user in the acceptance tests.
Related Issue
Screenshots (if appropriate):
Types of changes
Checklist: