Created
May 29, 2012 19:02
-
-
Save wevtimoteo/2830052 to your computer and use it in GitHub Desktop.
Recovering my PSN Network password
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
# encoding: utf-8 | |
require 'spec_helper' | |
Capybara.configure do |config| | |
config.current_driver = :selenium | |
config.run_server = false | |
config.app_host = 'https://account.sonyentertainmentnetwork.com' | |
end | |
describe 'testing' do | |
describe 'testing' do | |
context 'i want password' do | |
before :each do | |
visit "/external/forgot-password!input.action" | |
fill_in 'account_loginNameField', :with => '[email protected]' | |
select '04', :from => 'dayDropDown' | |
select '1991', :from => 'yearDropDown' | |
select 'Month', :from => 'monthDropDown' | |
click_link 'mailTokenContinueBtn' | |
end | |
it "shows success message" do | |
page.should have_content('Unable to validate your e-mail address or date of birth. Please try again.') | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment