-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvement at integration tests
Removed duplicated step. This step already is executed at method beforeFeature. The method beforeSuite also was refactored to use the method runCommand Signed-off-by: Vitor Mattos <[email protected]>
- Loading branch information
1 parent
a7368e7
commit 14abb43
Showing
3 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,6 @@ Feature: request-signature | |
Scenario: Request to sign with error when the link was expired | ||
Given as user "admin" | ||
And my inbox is empty | ||
And run the command "libresign:developer:reset --all" | ||
And run the command "libresign:configure:openssl --cn test" | ||
And run the command "config:app:set libresign maximum_validity --value 1" | ||
When sending "post" to ocs "/apps/libresign/api/v1/request-signature" | ||
|
@@ -119,7 +118,6 @@ Feature: request-signature | |
Scenario: Request to sign with success when is necessary to renew the link | ||
Given as user "admin" | ||
And my inbox is empty | ||
And run the command "libresign:developer:reset --all" | ||
And run the command "libresign:configure:openssl --cn test" | ||
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods" | ||
| value | (string)[{"name":"email","enabled":true,"mandatory":true,"can_create_account":false}] | | ||
|
@@ -184,7 +182,6 @@ Feature: request-signature | |
Scenario: Request to sign with success using account as identifier | ||
Given as user "admin" | ||
And user "signer1" exists | ||
And run the command "libresign:developer:reset --all" | ||
And run the command "libresign:configure:openssl --cn test" | ||
And set the email of user "signer1" to "[email protected]" | ||
And reset notifications of user "signer1" | ||
|
@@ -206,7 +203,6 @@ Feature: request-signature | |
|
||
Scenario: Request to sign with error using account as identifier with invalid email | ||
Given as user "admin" | ||
And run the command "libresign:developer:reset --all" | ||
And run the command "libresign:configure:openssl --cn test" | ||
When sending "post" to ocs "/apps/libresign/api/v1/request-signature" | ||
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} | | ||
|
@@ -320,8 +316,7 @@ Feature: request-signature | |
And I open the latest email to "[email protected]" with subject "LibreSign: There is a file for you to sign" | ||
|
||
Scenario: CRUD of identify methods | ||
Given run the command "libresign:developer:reset --all" | ||
And run the command "libresign:configure:openssl --cn test" | ||
Given run the command "libresign:configure:openssl --cn test" | ||
And user "signer1" exists | ||
And as user "admin" | ||
When I send a file to be signed | ||
|