Skip to content

Commit

Permalink
robocop disable some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmateusribeiro authored and Jmateusribeiro committed Jun 3, 2024
1 parent 743ad58 commit 266cfbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion tests/API_BDD_with_csv.robot
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Suite Setup Load Environment Variables


*** Test Cases ***
# robocop: off=too-few-calls-in-test-case
Scenario: Successful Registration With ${email}
[Documentation] Tests successful registration with different email addresses from a CSV file.
[Template] Scenario Outline: Successful Registration
Log Test Executed from csv


*** Keywords ***
Expand Down
16 changes: 4 additions & 12 deletions tests/API_keyword_driven.robot
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,25 @@ Resource ../resources/services/regres_registration_API.resource
Suite Setup Load Environment Variables


*** Variables ***
${EMAIL_EVE} eve.holt@reqres.in
${PASSWORD_EVE} pistol
${EMAIL_MICHAEL} michael.lawson@reqres.in
${PASSWORD_MICHAEL} xpto
${EMAIL_LINDSAY} lindsay.ferguson@reqres.in
${PASSWORD_LINDSAY} xpto


*** Test Cases ***
# robocop: off=wrong-case-in-keyword-name
Successful Registration As Eve
[Documentation] Registers a user with email eve.holt@reqres.in and password pistol,
... then verifies the correct token is returned.
Email And Password Are Defined As ${EMAIL_EVE} And ${PASSWORD_EVE}
Email And Password Are Defined As eve.holt@reqres.in And pistol
Registration Is Executed
The Correct Token Is Returned

Successful Registration As Michael
[Documentation] Registers a user with email michael.lawson@reqres.in and password xpto,
... then verifies the correct token is returned.
Email And Password Are Defined As ${EMAIL_MICHAEL} And ${PASSWORD_MICHAEL}
Email And Password Are Defined As michael.lawson@reqres.in And xpto
Registration Is Executed
The Correct Token Is Returned

Successful Registration As Lindsay
[Documentation] Registers a user with email lindsay.ferguson@reqres.in and password xpto,
... then verifies the correct token is returned.
Email And Password Are Defined As ${EMAIL_LINDSAY} And ${PASSWORD_LINDSAY}
Email And Password Are Defined As lindsay.ferguson@reqres.in And xpto
Registration Is Executed
The Correct Token Is Returned

0 comments on commit 266cfbb

Please sign in to comment.