300. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/7/2018 11:36:08 AM Central Standard 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.

300.1 Files compared

# Location File Last Modified
1 C:\SCRUB\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\test\watir-ruby\spec\TeleHealth direct_booking_video_appt_spec.rb Mon Oct 22 23:25:20 2018 UTC
2 C:\MHED-scrubbed\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\test\watir-ruby\spec\TeleHealth direct_booking_video_appt_spec.rb Fri Dec 7 13:25:44 2018 UTC

300.2 Comparison summary

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

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

300.4 Active regular expressions

No regular expressions were active.

300.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/ appointmen ts/new_app ointment_r equest'
  17   require_re lative '.. /../pages/ appointmen ts/booked_ appointmen t_detail'
  18   require_re lative '.. /../helper /modal'
  19   require_re lative '.. /../module /database/ OracleUtil ity'
  20   require_re lative '.. /../module /DateUtili ty'
  21   require_re lative '.. /../helper /error_val idation'
  22   require_re lative '.. /../module /database/ MongoUtili ty'
  23   require_re lative '.. /../pages/ feedback'
  24   require_re lative '.. /../pages/ landing_no tification s'
  25  
  26   describe ' [Story# VA R-10212: M erge: Dire ct Booking  of a Vide o (Mobile  Any) appoi ntment - C linic Disp lay]
  27              [Story# VA R-10404: M erge: New  Appointmen t - Confir mation Mod als & Crea te Appoint ment]
  28              [Story# VA R-10258: M erge: Dire ct Booking  of a Vide o (Mobile  Any) appoi ntment - E mail Requi red]'  do
  29  
  30     include  DriverUtil ity
  31     include  OracleUtil ity
  32     include  DateUtilit y
  33     include  MongoUtili ty
  34     $date =  "02/05/201 8"
  35     $email =  "testvide o@gmail.co m"
  36     $typeOfC are = "Pri mary Care"
  37  
  38  
  39  
  40     before(: all) do
  41       initia lizeConfig urations(V AR_BASE_UR L)
  42       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  43       @login  = Login.n ew(@driver )
  44       @eula  = Eula.new (@driver)
  45       @commo n = Common .new(@driv er)
  46       @modal  = Modal.n ew(@driver )
  47       @new_a ppointment  = NewAppo intmentReq uest.new(@ driver)
  48       @detai l = Booked Appointmen tDetail.ne w(@driver)
  49       @error  = Error_V alidation. new(@drive r)
  50       @feedb ack = Feed back.new(@ driver)
  51       @landi ng_notific ations = L andingNoti fications. new(@drive r)
  52       @modal  = Modal.n ew(@driver )
  53       TITLE  = "Appoint ments/Requ ests"
  54     end
  55  
  56     after(:a ll) do
  57       @drive r.close
  58     end
  59  
  60     context  'AC#VAR-10 470|TC#VAR -10471: Ne w Appointm ent/Reques t Form: St ep 1: Type  of Care'  do
  61  
  62       it 'lo gin and se lect new a ppointment  request f orm' do
  63           @common.lo ginEndsOnH ome( pw_reda c t e d )
  64         @lan ding_appoi ntments.ap pointment_ header_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  65         @lan ding_notif ications.n otificatio n_detail_n ew_appt_el ement.wait _until_pre sent(TIME_ OUT_LIMIT)
  66         @lan ding_notif ications.n otificatio n_detail_n ew_appt
  67       end
  68  
  69       it 'sh ould displ ay clinics  list for  a given ty pe of care  at my sel ected loca tion' do
  70         #Sel ect Primar y Care>Bos ton>Direct  Schedulin g
  71         @new _appointme nt.selectT ypeOfCare( "#{$typeOf Care }")
  72         @new _appointme nt.selectL ocation("5 23")
  73         @new _appointme nt.selectS chedulingM ethod("dir ect")
  74  
  75         #Ver ify Video  Visit Icon  exist for  "Audiolog y New" Cli nic
  76         @new _appointme nt.vv_icon _element.w ait_until_ present(TI ME_OUT_LIM IT)
  77         expe ct(@new_ap pointment. vv_icon_el ement.visi ble?). to  eq (true)
  78  
  79         #Ver ify Hospit al Vist Ic on exist f or "PRIMAR Y CARE 2 ( HFE)" Clin ic
  80         @new _appointme nt.hospita l_icon_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  81         expe ct(@new_ap pointment. hospital_i con_elemen t.visible? ).to eq (t rue)
  82       end
  83  
  84     end
  85  
  86     context  'AC#VAR-10 684|TC#VAR -10685: Me rge: Direc t Booking  of a Video  (Mobile A ny) appoin tment - Em ail Requir ed' do
  87  
  88       it 'se lect video  visit app ointment a nd fill th e form' do
  89         @new _appointme nt.selectC linic("487 ")
  90         @new _appointme nt.provide ReasonForA ppointment ("test")
  91         @new _appointme nt.selectP referedDat e("#{$date }", "10:30 ")
  92         @new _appointme nt.enterEm ail("#{$em ail}")
  93       end
  94  
  95       it 'sh ould displ ay instruc tional tex t after th e last lin e of clini c informat ion' do
  96         @new _appointme nt.instruc tional_tex t_video_ap pt_clinic_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  97         expe cted_conte nt =[\
  98                             "To su pport this  Video App ointment,  please ens ure you ha ve a curre nt email a ddress inc luded in y our Email  Preference s shown be low."
  99         ]
  100         actu al_content  = @new_ap pointment. instructio nal_text_v ideo_appt_ clinic_ele ment.text. split("\n" )
  101  
  102         comp areContent s(actual_c ontent,  e xpected_co ntent)
  103       end
  104  
  105       it 'sh ould displ ay instruc tion text  after the  the sectio n header " Notificati on Setting s"' do
  106         @new _appointme nt.instruc tional_tex t_video_ap pt_noti_se ttings_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  107         expe cted_conte nt =[\
  108                             "Video  Visits re quire that  you accep t Appointm ent and Re quest noti fications,  and that  you provid e an email  address s o that we  may send y ou the vid eo connect ion inform ation.",
  109                             "Pleas e confirm  your notif ication co ntact info rmation be fore sched uling this  appointme nt."
  110         ]
  111         actu al_content  = @new_ap pointment. instructio nal_text_v ideo_appt_ noti_setti ngs_elemen t.text.spl it("\n")
  112  
  113         comp areContent s(actual_c ontent,  e xpected_co ntent)
  114       end
  115  
  116     end
  117  
  118     context  'AC#VAR-10 650|TC#VAR -10651: Me rge: New A ppointment  - Confirm ation Moda ls & Creat e Appointm ent' do
  119  
  120       it 'sh ould displ ay Confirm ation Moda l for vide o-visit ap pointment'  do
  121         #Ver ify Video  Visit Conf irmation M odal Conte nt
  122         @new _appointme nt.confirm _appointme nt_element .wait_unti l_present( TIME_OUT_L IMIT)
  123         @new _appointme nt.confirm _appointme nt_element .click
  124         expe ct(@modal. modalTitle ).to eq "C onfirm App ointment"
  125         expe cted_conte nt =[\
  126                             "You a re schedul ing a Vide o Appointm ent for:",
  127                             "#{$da te} @ 1030  UTC",
  128                             "Type  of Care: # {$typeOfCa re }",
  129                             "Your  video appo intment li nk will be  sent to:" ,
  130                             "#{$em ail}",
  131                             "For a  Video App ointment,  please rem ember:",
  132                             "You w ill need t o join the  appointme nt from a  computer,  tablet, or  smartphon e with int ernet acce ss",
  133                             "The d evice you  join with  will need  to have a  camera and  microphon e",
  134                             "The e mail addre ss you hav e provided  will be u sed to sen d a link t hat will a llow you t o join the  appointme nt and rec eive appoi ntment rem inders"
  135         ]
  136         actu al_content  = @modal. content.sp lit("\n")
  137  
  138         comp areContent s(actual_c ontent,  e xpected_co ntent)
  139  
  140         @mod al.confirm _continue_ element.ex ist?
  141         @mod al.confirm _return_el ement.exis t?
  142  
  143         @mod al.confirm _return
  144       end
  145  
  146       it 'se lect regul ar appoint ment and f ill the fo rm' do
  147         @new _appointme nt.selectC linic("32" )
  148         @new _appointme nt.provide ReasonForA ppointment ("test")
  149         @new _appointme nt.selectP referedDat e("#{$date }", "10:30 ")
  150         @new _appointme nt.enterEm ail("#{$em ail}")
  151       end
  152  
  153       it 'sh ould displ ay Confirm ation Moda l for regu lar appoin tment' do
  154         #Ver ify Regula r Confirma tion Modal  Content
  155         @new _appointme nt.confirm _appointme nt_element .wait_unti l_present( TIME_OUT_L IMIT)
  156         @new _appointme nt.confirm _appointme nt_element .click
  157         expe ct(@modal. modalTitle ).to eq "C onfirm App ointment"
  158         expe cted_conte nt =[\
  159                             "You a re schedul ing an In- Person App ointment f or:",
  160                             "#{$da te} @ 1030  UTC",
  161                             "Type  of Care: # {$typeOfCa re }",
  162                             "Bosto n Facility  Friendly  Text",
  163                             "PRIMA RY CARE",
  164                             "JP PR IMARY CARE  DR. CREAM ER"
  165         ]
  166         actu al_content  = @modal. content.sp lit("\n")
  167  
  168         comp areContent s(actual_c ontent,  e xpected_co ntent)
  169  
  170         @mod al.confirm _continue_ element.ex ist?
  171         @mod al.confirm _return_el ement.exis t?
  172       end
  173  
  174     end
  175  
  176   end