From beb9b0c14a639fabd0e3374d25bf579b48604855 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Sat, 7 Oct 2023 13:27:00 -0700 Subject: [PATCH] added new scenario --- features/homepage.feature | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/features/homepage.feature b/features/homepage.feature index 2bccdcc..c0750d9 100644 --- a/features/homepage.feature +++ b/features/homepage.feature @@ -39,3 +39,8 @@ Feature: Homepage Given A link already exists with the url "https://google.com" and code "aaaaaa" When I visit the "/aaaaaa" location Then I should be redirected to "https://google.com" + + Scenario: Accessing a nonexistent URL code + Given I visit the "/aaaaaa" location + Then I should be redirected to "/" + And I should see the message "Link aaaaaa doesn't exist"