SHARE
TWEET

Untitled

a guest May 5th, 2012 8 Never
  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
RAW Paste Data
Top