Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created January 26, 2011 15:14
Show Gist options
  • Select an option

  • Save jhollingworth/796816 to your computer and use it in GitHub Desktop.

Select an option

Save jhollingworth/796816 to your computer and use it in GitHub Desktop.
Feature: Confirm details for existing users
So that an existing toptable user can create a booking without having to fill in all their details
As an existing user
I would like to have a cut down confirm details page
Background:
Given I am signed in
And I have selected a valid time for 2 people tomorrow at 5pm for venue 14175
@omniture
Scenario: I am an existing user who is logged in and I complete a booking with no changes
When I click "Book now"
Then I should be redirected to the thank you page
And the page should show "Confirmed details for"
And the page should contain the value from the config variable "fullname"
And the page should show a booking for the selected time
And the "page name" omniture variable should be ";14175 : Toptable ('test-aurant!)aas | Confirmation"
And the "section name" omniture variable should be "Confirmation"
And the "culture" omniture variable should be "en-GB"
And the "events" omniture variable should be "event1,purchase"
And the "purchase id" omniture variable should exist
And the "products" omniture variable should be ";14175 : Toptable ('test-aurant!)aas;1;0"
And the "location" omniture variable should be "Marrakech"
And the ism type omniture variable should be correct
Scenario: I am en existing user who is logged into someone else's account
When I click "not Test?"
Then I should be redirected to the confirmation page
Scenario: I have clicked on a time slot but want to change the time
When I click "Change time, date or number of people"
Then I should be redirected to the search page for venue 14175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment