Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

require_relative '../globalized'
include Globalized

describe "[Story# JRNL-56 Health_Advocate_JRNL_56_spec.rb]", :broken => true, :regression => true do

before(:all) do
initializeConfigurations(BASE_URL)
initializeAllObjects
end

after(:all) do
quitDriver()
end

it "AC # JRNL-160|TC #JRNL-214: Display indicates user is Health Advocate" do
!45.times{ break if (@eula.acceptEulaVisible?() == true); sleep 1 }
@eula.clickAccept()

!45.times{ break if (@landing.getTitle() == "My VA Health"); sleep 1 }
expect(@landing.getTitle()).to eq("My VA Health")

#Passing by the landing page before the Eula
@loginpage.passingByTheLandingPage()

#Checking the DS Logon screen loaded
!45.times{ break if (getPageTitle() == "Department of Veterans Affairs - Veteran Login Page"); sleep 1 }
@loginpage.loginAsVeteran("zztest.advocate01")

#accept Launchpad EULA
!45.times{ break if (@main.getFooterText().include?("Health Advocate") == true); sleep 1 }
expect(@main.getFooterText()).to eq("Logged in as advocate01, zztest - Health Advocate for patient01, zztest")

end
end