226. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/30/2019 1:49:21 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

226.1 Files compared

# Location File Last Modified
1 var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu help_spec.rb Fri May 10 18:55:49 2019 UTC
2 var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu help_spec.rb Wed May 29 22:12:42 2019 UTC

226.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 374
Changed 1 2
Inserted 0 0
Removed 0 0

226.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

226.4 Active regular expressions

No regular expressions were active.

226.5 Comparison detail

  1   #!/bin/env  ruby
  2   # encoding : utf-8
  3   require 'r ubygems'
  4   require 'r spec'
  5   require 'w atir-webdr iver'
  6   require 'p age-object '
  7   require 'o ci8'
  8  
  9   require_re lative '.. /../module /DriverUti lity'
  10   require_re lative '.. /rspec_hel per'
  11   require_re lative '.. /../pages/ landing'
  12   require_re lative '.. /../pages/ login'
  13   require_re lative '.. /../pages/ eula'
  14   require_re lative '.. /../common /common'
  15   require_re lative '.. /../pages/ landing_ap pointments '
  16   require_re lative '.. /../pages/ user_menu'
  17   require_re lative '.. /../helper /modal'
  18  
  19  
  20   describe ' [Story# VA R-4406: St andardize  Help Conte nt]
  21                    [sto ry# VAR-14 307-CC - P hone numbe r links sh ould open  the defaul t action f or the dev ice or bro wser they  are in]
  22                    [sto ry# VAR-14 820-CC - C C - Update  Provider/ Facility L ocator URL  to va.gov ]'  do
  23     include  DriverUtil ity
  24  
  25     before(: all) do
  26       initia lizeConfig urations(V AR_BASE_UR L)
  27       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  28       @landi ng = Landi ng.new(@dr iver)
  29       @cc_po  = Communi tyCare_Pag eObject.ne w(@driver)
  30       @login  = Login.n ew(@driver )
  31       @commo n = Common .new(@driv er)
  32       @eula  = Eula.new (@driver)
  33       @user_ menu = Use rMenuOptio n.new(@dri ver)
  34       @modal  = Modal.n ew(@driver )
  35       APPOIN TMENTS = " Appointmen ts/Request s"
  36       @commo n.loginEnd sOnHome(Mo ckUser01)
  37  
  38     end
  39  
  40     after(:a ll) do
  41       @drive r.close
  42     end
  43  
  44     context  'AC#VAR-54 27|TC#vAR- 5428: Vali date Help  Content' d o
  45       it "Lo gin to VAR " do
  46         @lan ding.foote rUserInfo_ element.wh en_visible (TIME_OUT_ LIMIT)
  47         @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT)
  48         expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS)
  49  
  50       end
  51  
  52       it "He lp option  added in U ser Menu"  do
  53         @use r_menu.use rMenu_elem ent.when_v isible(TIM E_OUT_LIMI T)
  54         butt on_element  = @driver .button(:i d => 'user -menu-btn' )
  55         exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt)
  56         @use r_menu.hel p_element. when_visib le(TIME_OU T_LIMIT)
  57         expe ct( @user_ menu.help_ element.te xt).to eq( "Help")
  58       end
  59  
  60       it "Sh ould verif y clicking  on help o pens the h elp Modal"  do
  61         butt on_element  = @driver .button(:i d => 'help -btn')
  62         exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt)
  63         @com mon.waitWh ileSpinner Present
  64         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  65         expe ct(@modal. modalTitle ).to eq("H elp")
  66  
  67       end
  68  
  69       it "sh ould verif y the deta ils on hel p modal" d o
  70           expect(@mo dal.conten t).to eq(" Help Desk  (toll free ): (877) 4 70-5947 We ekdays 7 a .m. - 7 p. m. (CT)\nI f you need  assistanc e with the  VA Appoin tments App , dial 1-8 77-470-594 7 to speak  with a He lp Desk Re presentati ve. The He lp Desk is  open Mond ay - Frida y from 7 a .m. to 7 p .m. CST. F or TTY ass istance, d ial 711. I f you have  questions  about you r DS Logon  account,  visit  DNS . URL /dslogon o r dial 1-8 00-983-093 7 for assi stance. Mo bile App T raining: P lease visi DNS . URL /appstore,  and searc h for the  VA Appoint ment App t o access t raining ma terials.\n Emergencie s\nIf you  feel that  your infor mation may  have been  compromis ed, contac t your loc al VA faci lity to ob tain the c ontact inf ormation f or your Pr ivacy Offi cer. To id entify you r local VA  facility,  visit VA  Facility L ocator. No te that yo u should n ever use t his app in  an emerge ncy situat ion. If yo u encounte r an emerg ency, call  your loca l medical  center or  dial 911.  Veterans C risis Line : 1-800-27 3-8255 Pre ss 1.\nUse r Guide")
  71       end
  72  
  73       it "Sh ould click  on Help d esk toll f ree phone  number(877 -470-5947)  link" do
  74         @use r_menu.hel pDeskToolF reePhoneNu mber
  75         swit chWindowTo WindowHand leLast
  76         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  77         expe ct(@modal. modalTitle ).to eq("H elp")
  78       end
  79  
  80       it "Sh ould verif y on VA Ap pointment  Help desk  phone numb er(1-877-4 70-5947) l ink is ena bled" do
  81         expe ct(@user_m enu.dial18 774705947_ element.en abled?).to  eq(true)
  82       end
  83       it "Sh ould click  on VA App ointment H elp desk p hone numbe r(1-877-47 0-5947) li nk" do
  84         @use r_menu.dia l187747059 47
  85         swit chWindowTo WindowHand leLast
  86         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  87         expe ct(@modal. modalTitle ).to eq("H elp")
  88       end
  89       it "ve rify the d ial 711 te xt" do
  90         expe ct(@user_m enu.dial71 1_element. text).to e q("711")
  91       end
  92  
  93       it "Sh ould verif y the dial  711 link  is enabled " do
  94         expe ct(@user_m enu.dial71 1_element. enabled?). to eq(true  )
  95       end
  96  
  97       it "sh ould click  on the di al 711 lin k " do
  98         @use r_menu.dia l711
  99         swit chWindowTo WindowHand leLast
  100         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  101         expe ct(@modal. modalTitle ).to eq("H elp")
  102       end
  103  
  104       it "Sh ould verif y the dial  phone num ber(180098 30937) lin k is enabl ed" do
  105         expe ct(@user_m enu.dial18 009830937_ element.en abled?).to  eq(true)
  106       end
  107  
  108       it "Sh ould click  on dial p hone numbe r(18009830 937) link"  do
  109         @use r_menu.dia l180098309 37
  110         swit chWindowTo WindowHand leLast
  111         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  112         expe ct(@modal. modalTitle ).to eq("H elp")
  113       end
  114  
  115       it "Sh ould verif y the  dia l 911 link  is enable d" do
  116         expe ct(@user_m enu.dial91 1_element. enabled?). to eq(true )
  117       end
  118  
  119       it "Sh ould click  on dial 9 11 link" d o
  120         @use r_menu.dia l911
  121         swit chWindowTo WindowHand leLast
  122         puts  "dial 911 "
  123         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  124         expe ct(@modal. modalTitle ).to eq("H elp")
  125       end
  126  
  127       it "Sh ould verif y the dial  Veteran C risis Link  is enable d" do
  128         expe ct(@user_m enu.dialVe teranCrisi sLink_elem ent.enable d?).to eq( true)
  129       end
  130  
  131       it "Sh ould click  on dial V eteran Cri sis Link"  do
  132         @use r_menu.dia lVeteranCr isisLink
  133         swit chWindowTo WindowHand leLast
  134         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  135         expe ct(@modal. modalTitle ).to eq("H elp")
  136       end
  137  
  138       it "sh ould verif y VA facil ities link  is enable d" do
  139         expe ct(@user_m enu.appSto reLink_ele ment.enabl ed?).to eq (true)
  140         expe ct(@user_m enu.facili tyLocatorL ink_elemen t.text).to  eq("VA Fa cility Loc ator")
  141       end
  142  
  143       it "sh ould verif y user gui de link" d o
  144         expe ct(@user_m enu.userGu ideLink_el ement.enab led?).to e q(true)
  145         expe ct(@user_m enu.userGu ideLink_el ement.text ).to eq("U ser Guide" )
  146  
  147       end
  148  
  149       it "sh ould open  confirmati on modal w hen the Us er guide i s clicked"  do
  150         #cli ck the Use r Guide li nk
  151         @use r_menu.use rGuideLink
  152         @cc_ po.landing CC.modal_t itle_eleme nt.when_vi sible(TIME _OUT_LIMIT )
  153         expe ct(@cc_po. landingCC. modal_titl e_element. text).to e q("Confirm ation")
  154         expe ct(@cc_po. landingCC. modal_cont ent_elemen t.text).to  eq("You a re about t o leave th e VA Appoi ntments ap p. Select  CONTINUE t o proceed  to the lin k informat ion select ed, or sel ect RETURN  to return  to the VA  Appointme nts app.")
  155       end
  156  
  157       it "ve rify userg uide is di splayed" d o
  158         @cc_ po.landing CC.modal_r eturn_btn_ element.wh en_visible (TIME_OUT_ LIMIT)
  159         @cc_ po.landing CC.modal_r eturn_btn
  160         @use r_menu.use rGuideLink
  161         @cc_ po.landing CC.modal_c ontinue_bt n
  162         swit chWindowTo WindowHand leLast
  163         expe ct(getCurr entURL).to  include(" app/module s/user-gui de/Veteran _Appointme nt_Request _UG.pdf")
  164       end
  165  
  166       it "sh ould displ ay ok butt on on help  modal" do
  167         swit chWindowTo WindowHand leFirst
  168         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  169         expe ct(@modal. buttons_el ements[0]. text).to e q("OK")
  170       end
  171  
  172       it "sh ould close  help moda l once ok  is clicked " do
  173         @mod al.buttons _elements[ 0].click
  174         @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT)
  175         expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS)
  176       end
  177  
  178     end
  179   end
  180  
  181  
  182  
  183  
  184  
  185  
  186  
  187  
  188