Created
September 5, 2018 13:26
-
-
Save cfv1984/53ac3f62d39e60fe6fcf66a285c9b861 to your computer and use it in GitHub Desktop.
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
// view-a-photo.feature | |
Feature: View a photo in full size | |
In order to view an album's photo | |
As an user | |
I want to open the first Album and see its contents, then open its first Photo | |
Scenario: Viewing a single Photo | |
Given the Gallery component is present | |
And the first album was selected | |
When the Photos are visible | |
Then I want to open a Photo | |
And I want it to be marked as Open | |
And I want its title to be shown in bold | |
And I want a "Close" button to be present | |
Scenario: Going back to the Album | |
Given the first photo is Open | |
When the "Close" button is activated | |
Then I want the first Photo to be marked as Closed | |
And I want the first Album to remain open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment