Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
FAQ/features/F-home.feature
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25 lines (22 sloc)
1.16 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Open Home page | |
The user should be able to view the home page. | |
Scenario: home page | |
Given The browser is open on the home page | |
Then take a screenshot called "home-page" in "home" | |
And the first "title" should be "Game Hub | Welcome to the GameHub" | |
And the first "h1" should be "WELCOME TO THE GAMEHUB" | |
And the unordered list in header should be "Home Login Register" | |
Scenario: home page link | |
Given The browser is open on the register page | |
When I click on the "home" field | |
Then take a screenshot called "home-page-another" in "home" | |
And the first "title" should be "Game Hub | Welcome to the GameHub" | |
And the first "h1" should be "WELCOME TO THE GAMEHUB" | |
And the unordered list in header should be "Home Login Register" | |
Scenario: home page logo button | |
Given The browser is open on the login page | |
When I click on the "logo" field | |
Then take a screenshot called "home-page-button" in "home" | |
And the first "title" should be "Game Hub | Welcome to the GameHub" | |
And the first "h1" should be "WELCOME TO THE GAMEHUB" | |
And the unordered list in header should be "Home Login Register" |