diff --git a/features/D-addQuestion.feature b/features/D-addQuestion.feature index 214dcb7..1e54dbf 100644 --- a/features/D-addQuestion.feature +++ b/features/D-addQuestion.feature @@ -52,6 +52,16 @@ Feature: Create a question Emma Jones {current date} """ + Scenario: show image for question + Given The browser is open on the home page + When I login as "Vasper123" with password "123" + And I click on question id "3" + Then take a screenshot called "question-image-answer" in "addQuestion" + And the "title" number "0" should be "Game Hub | The Witcher 3: Wild Hunt" + And the "h1" number "0" should be "THE WITCHER 3: WILD HUNT" + And the "h2" number "0" should be "Best way to get money" + And the "ul" number "0" should be "Home Vasper123 Add Logout" + Scenario: create a third question without an image Given The browser is open on the home page When I login as "Vasper123" with password "123" diff --git a/features/G-answer.feature b/features/G-answer.feature index d68975b..8633689 100644 --- a/features/G-answer.feature +++ b/features/G-answer.feature @@ -37,16 +37,6 @@ Feature: Create an answer Sam Smith {current date} - Rate this answer - 0 stars - 1 star - 2 stars - 3 stars - 4 stars - 5 stars - - - 0★ """ Scenario: create another answer for question when logged in @@ -66,16 +56,6 @@ Feature: Create an answer Emma Jones {current date} - Rate this answer - 0 stars - 1 star - 2 stars - 3 stars - 4 stars - 5 stars - - - 0★ """ Scenario: create an answer for question2 when loggin in @@ -95,14 +75,4 @@ Feature: Create an answer Sam Smith {current date} - Rate this answer - 0 stars - 1 star - 2 stars - 3 stars - 4 stars - 5 stars - - - 0★ """