added new scenario

pull/18/head
Adam Townsend 2023-10-07 13:27:00 -07:00
parent c874426f2e
commit beb9b0c14a
1 changed files with 5 additions and 0 deletions

View File

@ -39,3 +39,8 @@ Feature: Homepage
Given A link already exists with the url "https://google.com" and code "aaaaaa" Given A link already exists with the url "https://google.com" and code "aaaaaa"
When I visit the "/aaaaaa" location When I visit the "/aaaaaa" location
Then I should be redirected to "https://google.com" 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"