added new scenario
parent
c874426f2e
commit
beb9b0c14a
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue