Skip to content

Commit

Permalink
add test for error for unable to find non existent file (#525)
Browse files Browse the repository at this point in the history
* add new error got unable to find nonexistant file

* fix typo in the previous error
  • Loading branch information
mcdonaldcarolyn committed Mar 23, 2022
1 parent c920019 commit 03aef50
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/features/reports.feature
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,16 @@ Scenario: Fail with 2 wrong signin secrets
"""
  Given I sign in with the email "WRONG_EMAIL_NAME" and the password "WRONG_PASSWORD_NAME"

@fast @rf25 @upload
Scenario: Fail with could not find files
Given the final Scenario status should be "failed"
Given the Scenario report should include:
"""
Could not find "nonexistant1.pdf, nonexistant2.pdf"
"""
Given I start the interview at "all_tests"
And I upload "nonexistant1.pdf, nonexistant2.pdf" to "upload_files_visible"

# scope.js
# I upload "___" to "___"
# No need to test wrong var name
Expand All @@ -384,6 +394,7 @@ Scenario: Fail with 2 wrong signin secrets
#
# I sign


# ===============================
# Reports for Scenarios with warnings
# ===============================
Expand Down

0 comments on commit 03aef50

Please sign in to comment.