From 03aef50b26bc619aadf349c58c760036fb454615 Mon Sep 17 00:00:00 2001 From: Carolyn Whelpley <33427006+mcdonaldcarolyn@users.noreply.github.com> Date: Wed, 23 Mar 2022 10:37:17 -0400 Subject: [PATCH] add test for error for unable to find non existent file (#525) * add new error got unable to find nonexistant file * fix typo in the previous error --- tests/features/reports.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/features/reports.feature b/tests/features/reports.feature index d2f6338a..26aded12 100644 --- a/tests/features/reports.feature +++ b/tests/features/reports.feature @@ -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 @@ -384,6 +394,7 @@ Scenario: Fail with 2 wrong signin secrets # # I sign + # =============================== # Reports for Scenarios with warnings # ===============================