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

299.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\requests verify_resolved_request_status_and_details_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\requests verify_resolved_request_status_and_details_spec.rb Fri Dec 7 13:26:02 2018 UTC

299.2 Comparison summary

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

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

299.4 Active regular expressions

No regular expressions were active.

299.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  
  10   require_re lative '.. /../module /DriverUti lity'
  11   require_re lative '.. /rspec_hel per'
  12   require_re lative 're quest_help er'
  13   require_re lative '.. /../pages/ landing'
  14   require_re lative '.. /../pages/ login'
  15   require_re lative '.. /../pages/ eula'
  16   require_re lative '.. /../common /common'
  17   require_re lative '.. /../pages/ landing_ap pointments '
  18   require_re lative '.. /../pages/ appointmen ts/new_app ointment_r equest'
  19   require_re lative '.. /../pages/ appointmen ts/request _appointme nt_detail'
  20   require_re lative '.. /../helper /modal'
  21   require_re lative '.. /../module /database/ OracleUtil ity'
  22   require_re lative '.. /../module /DateUtili ty'
  23   require_re lative '.. /../helper /error_val idation'
  24   require_re lative '.. /../module /database/ MongoUtili ty'
  25  
  26   describe ' [Story #VA R-11064: R equest Sta tus Change  - Display  in VAOS ( Includes r esolved st atus)]' do
  27  
  28     include  OracleUtil ity
  29     include  DateUtilit y
  30     include  DriverUtil ity
  31     include  MongoUtili ty
  32  
  33     before(: all) do
  34       initia lizeConfig urations(V AR_BASE_UR L)
  35       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  36       @login  = Login.n ew(@driver )
  37       @eula  = Eula.new (@driver)
  38       @commo n = Common .new(@driv er)
  39       @modal  = Modal.n ew(@driver )
  40       @new_r equest = N ewAppointm entRequest .new(@driv er)
  41       @detai l = Reques tAppointme ntDetail.n ew(@driver )
  42       @error  = Error_V alidation. new(@drive r)
  43       TITLE  = "Appoint ments/Requ ests"
  44  
  45       #this  will not w ork in CI  but the da ta will be  reset in  the jenkin s
  46       @patie ntID = "10 06088937V0 99668"
  47       @patie ntID2 = "1 113138327"
  48       delete PatientDat a(@patient ID)
  49       delete PatientDat a(@patient ID2)
  50         @common.lo ginEndsOnH ome( pw_reda c t e d )
  51       @commo n.waitWhil eSpinnerPr esent
  52       @landi ng_appoint ments.prim ary_header _element.w hen_presen t(TIME_OUT _LIMIT)
  53       @landi ng_appoint ments.add_ top_btn_el ement.when _present(T IME_OUT_LI MIT)
  54  
  55     end
  56  
  57     after(:a ll) do
  58       delete PatientDat a(@patient ID)
  59       delete PatientDat a(@patient ID2)
  60       delete AllRequest Data
  61       @drive r.close
  62     end
  63  
  64     context  'AC#VAR-11 165 | TC#V AR11166: R equest Sta tus Change  - Display  in VAOS ( Includes r esolved st atus)' do
  65  
  66       it 'Ve rify Detai ls on Requ est Resolv ed as Reso lved/Sched uled Outsi de of Sche duling Man ager' do
  67         dele teAllReque stData()
  68         inse rtRequests Data("Reso lved", OPT OMETRY, "5 23A5", "40 8", "Brock ton VAMC",  "DETCODE2 0")
  69         @com mon.waitWh ileSpinner Present
  70         @lan ding_appoi ntments.cl ickRefresh
  71         @com mon.waitWh ileSpinner Present
  72         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  73         @lan ding_appoi ntments.cl ickRequest (0)
  74         @com mon.waitWh ileSpinner Present
  75         @det ail.reques t_details_ group_elem ent.when_p resent(TIM E_OUT_LIMI T)
  76         expe ct(@detail .status_el ement.text ).to eq("S tatus: Res olved")
  77         expe ct(@detail .status_de sc_element .text).to  eq("Your a ppointment  has been  scheduled. ")
  78       end
  79  
  80       it 'Ve rify Detai ls on Requ est Resolv ed as Reso lved/Speci alty Not A vailable '  do
  81         @det ail.clickB ackButton
  82         dele teAllReque stData()
  83         inse rtRequests Data("Reso lved", PRI MARY_CARE,  "523A5",  "408", "Br ockton VAM C", "DETCO DE21")
  84         @com mon.waitWh ileSpinner Present
  85         @lan ding_appoi ntments.cl ickRefresh
  86         @com mon.waitWh ileSpinner Present
  87         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  88         @lan ding_appoi ntments.cl ickRequest (0)
  89         @com mon.waitWh ileSpinner Present
  90         @det ail.reques t_details_ group_elem ent.when_p resent(TIM E_OUT_LIMI T)
  91         expe ct(@detail .status_el ement.text ).to eq("S tatus: Res olved")
  92         expe ct(@detail .status_de sc_element .text).to  eq("The ap pointment  type you r equested i s not avai lable for  online sch eduling re quests. VA  will cont act you to  schedule  an appoint ment. If V A has not  contacted  you within  24 hours,  please co ntact your  facility.  View VA F acility ph one number s")
  93       end
  94  
  95       it 'Ve rify Detai ls on Requ est Resolv ed as Canc elled/Unab le to Reac h Veteran'  do
  96         @det ail.clickB ackButton
  97         dele teAllReque stData()
  98         inse rtRequests Data("Canc elled", AU DIOLOGY, " 523A5", "4 08", "Broc kton VAMC" , "DETCODE 23")
  99         @com mon.waitWh ileSpinner Present
  100         @lan ding_appoi ntments.cl ickRefresh
  101         @com mon.waitWh ileSpinner Present
  102         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  103         @lan ding_appoi ntments.cl ickRequest (0)
  104         @com mon.waitWh ileSpinner Present
  105         @det ail.reques t_details_ group_elem ent.when_p resent(TIM E_OUT_LIMI T)
  106         expe ct(@detail .status_el ement.text ).to eq("S tatus: Can celled")
  107         expe ct(@detail .status_de sc_element .text).to  eq("We wer e unable t o contact  you to dis cuss your  appointmen t. We apol ogize for  not being  able to bo ok this re quest for  an appoint ment. You  can call t he facilit y to discu ss schedul ing option s for your  current n eed or you  can start  a new app ointment r equest usi ng this ap plication. ")
  108       end
  109  
  110       it 'Ve rify Detai ls on Requ est Resolv ed as Canc elled/Canc elled At V eteran Req uest' do
  111         @det ail.clickB ackButton
  112         dele teAllReque stData()
  113         inse rtRequests Data("Canc elled", ME NTAL_HEALT H, "523A5" , "408", " Brockton V AMC", "DET CODE22")
  114         @com mon.waitWh ileSpinner Present
  115         @lan ding_appoi ntments.cl ickRefresh
  116         @com mon.waitWh ileSpinner Present
  117         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  118         @lan ding_appoi ntments.cl ickRequest (0)
  119         @com mon.waitWh ileSpinner Present
  120         @det ail.reques t_details_ group_elem ent.when_p resent(TIM E_OUT_LIMI T)
  121         expe ct(@detail .status_el ement.text ).to eq("S tatus: Can celled")
  122         expe ct(@detail .status_de sc_element .text).to  eq("Your a ppointment  request h as been ca ncelled at  your requ est.")
  123       end
  124  
  125       it 'Ve rify Detai ls on Requ est Resolv ed as Canc elled/Othe r' do
  126         @det ail.clickB ackButton
  127         dele teAllReque stData()
  128         inse rtRequests Data("Canc elled", EX PRESS_CARE , "523A5",  "CR1", "B rockton VA MC", "DETC ODE24")
  129         @com mon.waitWh ileSpinner Present
  130         @lan ding_appoi ntments.cl ickRefresh
  131         @com mon.waitWh ileSpinner Present
  132         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  133         @lan ding_appoi ntments.cl ickRequest (0)
  134         @com mon.waitWh ileSpinner Present
  135         @det ail.reques t_details_ group_elem ent.when_p resent(TIM E_OUT_LIMI T)
  136         expe ct(@detail .status_el ement.text ).to eq("S tatus: Can celled")
  137         expe ct(@detail .status_de sc_element .text).to  eq("Your r equest has  been canc elled. Ple ase contac t the faci lity if yo u have que stions reg arding thi s request  or schedul ing a rela ted appoin tment.")
  138       end
  139     end
  140  
  141   end