Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.99 KB  |  views: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. require File.expand_path('../../../../../includes', File.dirname(__FILE__))
  2.  
  3. Scenario "Enrolling to ScoreSense" do
  4.  
  5.   Background "A user has never enrolled" do
  6.     Use ConfiguredUser
  7.     Clear Enrollment
  8.   end
  9.   And "they have completed Form 1" do
  10.     Start ConfiguredBrowser With SecureScoreSenseUrl
  11.     Complete RootSite Form1
  12.   end
  13.   And "they have completed Form 2" do
  14.     Complete RootSite Form2
  15.   end
  16.  
  17.   Given "a user is on the Thank You page" do
  18.      Should Show RootSite ThankYouPage
  19.   end
  20.     #-------------------------------------------------------------------------------
  21.     When "the user clicks continue" do
  22.       Click :continue
  23.     end
  24.         Then "it should redirect to Product Fulfillment" do
  25.             Should Transition To ScoreSenseMembersUrl
  26.         end
  27.         And "it should show the L3 Page" do
  28.             Should Show RootSite L3
  29.         end
  30.     #-------------------------------------------------------------------------------
  31.   Finally "close the browser" do
  32.    Exit Browser
  33.   end
  34. end