From a518412ea052aa8ee9cbc2e547b85804439918de Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 8 Jan 2019 15:19:04 +0100 Subject: [PATCH] Improved location testing --- cypress/integration/AboutMeAndLocation.feature | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cypress/integration/AboutMeAndLocation.feature b/cypress/integration/AboutMeAndLocation.feature index 72a97bf22..0f5c6733b 100644 --- a/cypress/integration/AboutMeAndLocation.feature +++ b/cypress/integration/AboutMeAndLocation.feature @@ -24,12 +24,19 @@ Feature: About me and and location And I enter "Peter Lustig" as my name And I press "Save" - Scenario: I set my location + Scenario Outline: I set my location to "" When I visit the "settings" page - And I enter "Hamburg" as my location + And I enter "" as my location And I press "Save" And I visit the "profile/peter-lustig" page - Then I can see a "Hamburg" as my location + Then I can see a "" as my location + + Examples: Location + | location | + | New York | + | Germany | + | Berlin | + | Mecklenburg-Vorpommern | Scenario: I write about me When I visit the "settings" page