Skip to content

Commit

Permalink
test(testingFailures): Set logScreenshotOnFail and forced a failure…
Browse files Browse the repository at this point in the history
… in login scenario

Set `logScreenshotOnFail` and forced a failure in login scenario
  • Loading branch information
noeliaSD committed Nov 21, 2022
1 parent 7de8961 commit a768c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: Status Desktop login
And the user signs up with username "<username>" and password "<password>"
And the user lands on the signed in app
When the user restarts the app
And the user "<username>" logs in with password "<password>"
And the user "<username>" logs in with password "TesTEr16843/!@11"
Then the user lands on the signed in app

Examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

def main():
testSettings.throwOnFailure = True
testSettings.logScreenshotOnFail = True
runFeatureFile('test.feature')

0 comments on commit a768c3f

Please sign in to comment.