Test redirection to Error Page given Tournament Code that is too long
Took 2 minutes
This commit is contained in:
parent
941c04e760
commit
d65eac62d1
|
|
@ -0,0 +1,9 @@
|
|||
Feature: Redirect to Tournament
|
||||
|
||||
Scenario: Given a way to long Code
|
||||
When I navigate to "http://localhost:3000/index"
|
||||
Then element having id "tournament-code-submit" should have text as "Turnier-Code öffnen"
|
||||
Then I enter "18583874562345" into input field having name "code"
|
||||
Then I click on element having id "tournament-code-submit" and text "Turnier-Code öffnen"
|
||||
Then element having class "running-text" should have partial text as "Die aufgerufene Seite wurde leider nicht gefunden."
|
||||
And element having class "running-text" should have partial text as "Wir empfehlen, die eingegebene Seite über die Startseite zu suchen."
|
||||
Loading…
Reference in New Issue