2688. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/10/2018 8:40:53 AM Central 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.

2688.1 Files compared

# Location File Last Modified
1 MHED_APPS_CIF.zip\VAR v4.2.7\var-web-4.2.7@0810ae549c1.zip\veteran-appointment-requests\test\watir-ruby\spec\landing landing_page_not_vha_enrolled_spec.rb Mon Apr 9 06:06:53 2018 UTC
2 MHED_APPS_CIF.zip\VAR v4.2.7\var-web-4.2.7@0810ae549c1.zip\veteran-appointment-requests\test\watir-ruby\spec\landing landing_page_not_vha_enrolled_spec.rb Thu May 3 13:47:23 2018 UTC

2688.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 284
Changed 2 4
Inserted 0 0
Removed 0 0

2688.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

2688.4 Active regular expressions

No regular expressions were active.

2688.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  
  8   require_re lative '.. /..//modul e/DriverUt ility'
  9   require_re lative '.. /rspec_hel per'
  10   require_re lative '.. /..//pages /landing'
  11   require_re lative '.. /../pages/ login'
  12   require_re lative '.. /../pages/ eula'
  13   require_re lative '.. /../pages/ roa'
  14   require_re lative '.. /../common /common'
  15   require_re lative '.. /../pages/ user_menu'
  16   require_re lative '.. /../pages/ launchpad'
  17   require_re lative '.. /../helper /modal'
  18   require_re lative '.. /../module /database/ MySqlUtili ty'
  19  
  20   describe ' [Story# VA R-1749: La nding - No t enrolled  ]
  21              [Story# VA R-2271: La nding Page  - Not Enr olled]
  22              [Story# VA R-4079: Up date app v ersion on  footer and  about pag e]
  23              [Story# VA R-4564: Au tomate Ver sion Numbe r Update 4 .0.0]'  do
  24     include  DriverUtil ity
  25  
  26     before(: all) do
  27       initia lizeConfig urations(B ASE_URL)
  28       @landi ng = Landi ng.new(@dr iver)
  29       @login  = Login.n ew(@driver )
  30       @eula  = Eula.new (@driver)
  31       @roa =  Roa.new(@ driver)
  32       @commo n = Common .new(@driv er)
  33       @user_ menu = Use rMenuOptio n.new(@dri ver)
  34       @launc hpad = Lau nchpad.new (@driver)
  35       @modal  = Modal.n ew(@driver )
  36     end
  37  
  38     after(:a ll) do
  39       @drive r.close
  40     end
  41  
  42     context  '[AC#VAR-1 805|TC#VAR -1910 - La nding Page  - Not Enr olled in V HA ]
  43               [AC#VAR-2 345,2763|T C#VAR-2769  - Updated  Landing P age - Not  Enrolled i n VHA]
  44               [AC#VAR-4 148|TC#VAR -4149 - Up date app v ersion]
  45               [AC#VAR-5 151|TC#VAR -5152: Val idate Auto mate Versi on Number  Update]' d o
  46  
  47       it "Lo gin" do
  48         @com mon.loginE ndsOnHome( "zztest.ve teran01",  "pass", "1 244420300" )
  49         @lan ding.foote rUserInfo_ element.wh en_present (TIME_OUT_ LIMIT)
  50         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  51         Wati r::Wait.un til {@land ing.modalT itle == "V eterans He alth Admin istration  Enrollment "}
  52       end
  53  
  54       it "La nding page " do
  55         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  56         expe ct(@landin g.modalTit le).to eq( 'Veterans  Health Adm inistratio n Enrollme nt')
  57         expe ct(@landin g.contentL ine1).to e q('Current ly we cann ot find a  record of  your enrol lment in t he Veteran s Health A dministrat ion.')
  58         expe ct(@landin g.contentL ine2).to e q('To use  this app,  you need:' )
  59         expe ct(@landin g.contentL ine3).to e q('To be a ctively en rolled in  VA Healthc are')
  60         expe ct(@landin g.contentL ine4).to e q('To have  been seen  for medic al care at  a VA Medi cal Center  (VAMC) or  Community  Based Cli nic (CBOC) ')
  61         expe ct(@landin g.contentL ine5).to e q('Additio nally, for  some type s of care,  your sele cted facil ity may ha ve additio nal rules  for using  this app t o book an  appointmen t.')
  62         expe ct(@landin g.contentL ine6).to e q('If you  have not e nrolled, w ant to lea rn more, o r would li ke to begi n the enro llment pro cess go to  the Apply  for VA He alth Benef its webpag e.')
  63         expe ct(@landin g.contentL ine7).to e q('If you  are enroll ed please  contact 1- 877-222-VE TS Monday  through Fr iday betwe en 8 a.m.  and 8 p.m.  ET and a  representa tive will  provide as sistance.  You may al so contact  your loca l VA healt h care fac ility.')
  64         expe ct(@landin g.contentL ine8).to e q('To find  a facilit y near you , visit th e VA Facil ity Locato r.')
  65  
  66  
  67         expe ct(@landin g.appVersi on).to eq( "VA Appoin tments - v 4.0.0")
  68         expe ct(@landin g.footerUs erInfo).to  eq("Logge d in as ve teran01, z ztest")
  69       end
  70  
  71       # Veri fy the Mod al display ed when VA  Enrollmen t Link is  clicked
  72       #Click  the VA En rollment L ink
  73       it "La nding page " do
  74         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  75         @lan ding.va_en rollment_l ink_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  76         @lan ding.va_en rollment_l ink
  77         @mod al.modalDi alog_eleme nt.when_pr esent(TIME _OUT_LIMIT )
  78  
  79         #Cli ck Return  in the mod al to make  sure the  modal clos es and the  VHA Enrol lment land ing paeg i s displaye d
  80         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  81         expe ct(@landin g.modalTit le).to eq( 'Veterans  Health Adm inistratio n Enrollme nt')
  82         expe ct(@modal. content_el ement.text ).to eq("Y ou are abo ut to leav e the VA A ppointment s app. Sel ect CONTIN UE to proc eed to the  link info rmation se lected, or  select RE TURN to re turn to th e VA Appoi ntments ap p.")
  83         expe ct(@modal. buttons_el ements[1]. text).to e q("Return" )
  84         @mod al.buttons _elements[ 1].click
  85         #foc us
  86   #      exp ect( @land ing.va_enr ollment_li nk_element ).to eq(@l anding.ele ment_with_ focus)
  87  
  88         #Val idate that  clicking  Continue o n the moda l takes us er to the  VHA enroll ment page
  89         @lan ding.va_en rollment_l ink
  90         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  91         expe ct(@modal. modalTitle ).to eq('C onfirmatio n')
  92         expe ct(@modal. buttons_el ements[0]. text).to e q("Continu e")
  93         @mod al.buttons _elements[ 0].click
  94  
  95         #VHA  Enrollmen t Site is  displayed
  96         swit chWindowTo WindowHand leLast
  97           expect(get CurrentURL ).to eq("h ttps://www . DNS     /HEALTHBEN EFITS/appl y/index.as p")
  98         swit chWindowTo WindowHand leFirst
  99         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  100         expe ct(@landin g.modalTit le).to eq( 'Veterans  Health Adm inistratio n Enrollme nt')
  101  
  102         #Val idate the  Facility L ocator lin k
  103         @lan ding.va_fa cility_loc ator_link
  104         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  105         expe ct(@modal. modalTitle ).to eq('C onfirmatio n')
  106         expe ct(@modal. buttons_el ements[0]. text).to e q("Continu e")
  107         @mod al.buttons _elements[ 0].click
  108  
  109         swit chWindowTo WindowHand leLast
  110           expect(get CurrentURL ).to eq("h ttps://www . DNS     /directory /guide/div ision.asp? dnum=1")
  111         swit chWindowTo WindowHand leFirst
  112         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  113         expe ct(@landin g.modalTit le).to eq( 'Veterans  Health Adm inistratio n Enrollme nt')
  114  
  115       end
  116  
  117       it "De fect#VAR-3 017: Patie nt without  dfn is ab le to logi n to VAR a pp " do
  118         #zzt est.patien t14 has no  dfn and a  single ic n
  119         @com mon.logout AndLogback WithADiffe rentUser(" zztest.pat ient14", " pass", "00 00000014")
  120  
  121         @lan ding.foote rUserInfo_ element.wh en_present (TIME_OUT_ LIMIT)
  122         Wati r::Wait.un til {@land ing.footer UserInfo = = "Logged  in as pati ent14, zzt est"}
  123         #exp ect(@landi ng.footerU serInfo).t o eq("Logg ed in as p atient14,  zztest")
  124  
  125         @lan ding.modal Title_elem ent.when_p resent(TIM E_OUT_LIMI T)
  126         expe ct(@landin g.modalTit le).to eq( 'Veterans  Health Adm inistratio n Enrollme nt')
  127         expe ct(@landin g.contentL ine1).to e q('Current ly we cann ot find a  record of  your enrol lment in t he Veteran s Health A dministrat ion.')
  128         expe ct(@landin g.contentL ine2).to e q('To use  this app,  you need:' )
  129         expe ct(@landin g.contentL ine3).to e q('To be a ctively en rolled in  VA Healthc are')
  130         expe ct(@landin g.contentL ine4).to e q('To have  been seen  for medic al care at  a VA Medi cal Center  (VAMC) or  Community  Based Cli nic (CBOC) ')
  131         expe ct(@landin g.contentL ine5).to e q('Additio nally, for  some type s of care,  your sele cted facil ity may ha ve additio nal rules  for using  this app t o book an  appointmen t.')
  132         expe ct(@landin g.contentL ine6).to e q('If you  have not e nrolled, w ant to lea rn more, o r would li ke to begi n the enro llment pro cess go to  the Apply  for VA He alth Benef its webpag e.')
  133         expe ct(@landin g.contentL ine7).to e q('If you  are enroll ed please  contact 1- 877-222-VE TS Monday  through Fr iday betwe en 8 a.m.  and 8 p.m.  ET and a  representa tive will  provide as sistance.  You may al so contact  your loca l VA healt h care fac ility.')
  134         expe ct(@landin g.contentL ine8).to e q('To find  a facilit y near you , visit th e VA Facil ity Locato r.')
  135  
  136       end
  137     end
  138   end
  139  
  140  
  141  
  142  
  143  
  144