From 5e1ffac1edf6674894487b740226e2a191b8685f Mon Sep 17 00:00:00 2001 From: Louis Fredice Njako Molom Date: Wed, 6 Sep 2023 11:21:20 +0200 Subject: [PATCH] weather --- uuv/e2e/first-test.feature | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/uuv/e2e/first-test.feature b/uuv/e2e/first-test.feature index 3bcd421..fb60983 100644 --- a/uuv/e2e/first-test.feature +++ b/uuv/e2e/first-test.feature @@ -5,3 +5,19 @@ Feature: First test Then I should see a title named "Welcome to Weather App" And I should see a button named "Get started" + Scenario: Weather - "Nothing to display" must be displayed + Given I visit path "https://e2e-test-quest.github.io/weather-app/" + # Click on button + When I click on button named "Get started" + # Check that there's nothing to display because there is no town selected. + Then I should see a title named "Nothing to display" + + Scenario: Weather - Town List must be ok + Given I visit path "https://e2e-test-quest.github.io/weather-app/" + # Click on button + When I click on button named "Get started" + # Checks the list of available towns. + Then I should see a list named "Available Towns" and containing + | Douala | + | Tunis | + | Limoges |