Skip to content

Instantly share code, notes, and snippets.

@ricfrank
Created June 16, 2015 06:48
Show Gist options
  • Save ricfrank/772ec3ba8d415ebee0bd to your computer and use it in GitHub Desktop.
Save ricfrank/772ec3ba8d415ebee0bd to your computer and use it in GitHub Desktop.
Feature: Create personal schedule
In order to spend more time socialising at the conference instead of looking at the schedule
As a conference attendee
I want to create my personal schedule beforehand
Scenario: Successfully selecting 1 talk
Given there is a conference "XP Conference"
And there is a "Specification" talk in first time period
When I open the "/conferences/xp" page
And I click "Add to my schedule" inside ".talk:contains('Specification')" block
Then I should see ".talk:contains('Specification')" inside ".personal-­‐schedule" block
Scenario: Failing to select 2 talks into the time period
Given there is a conference "XP Conference"
And there is a "Specification" talk in the first time period
And there is a "Modelling" talk in the first time period
When I open the "/conferences/xp" page
And I click "Add to my schedule" inside ".talk:contains('Specification')" block
And I click "Add to my schedule" inside ".talk:contains('Modelling')" block
Then I should see ".talk:contains('Specification')" inside ".personal-­‐schedule" block
But I should not see ".talk:contains('Modelling')" inside ".personal-­‐schedule" block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment