added new scenario
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user