Skip to content
Permalink
Browse files
Merge pull request reisborw#68 from 5001CEM-1920SEPJAN/ui-fix
Ui fix
  • Loading branch information
dhirk committed Dec 2, 2019
2 parents e739af1 + 6e37495 commit aab85e10e9e4bc4b75736d29e98034c671da7385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
@@ -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"
@@ -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★
"""

0 comments on commit aab85e1

Please sign in to comment.