282. EPMO Open Source Coordination Office Redaction File Detail Report

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

282.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\community_care cc_select_facility_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\community_care cc_select_facility_spec.rb Fri Dec 7 13:25:54 2018 UTC

282.2 Comparison summary

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

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

282.4 Active regular expressions

No regular expressions were active.

282.5 Comparison detail

  1   require_re lative '.. /rspec_hel per'
  2   require_re lative '.. /../pages/ community_ care/commu nity_Care_ PageObject '
  3   require 'r ubygems'
  4   require_re lative '.. /../module /DriverUti lity'
  5   require_re lative '.. /../module /database/ MongoUtili ty'
  6   require_re lative 'cc _SM_reques t_helper'
  7   require_re lative '.. /../pages/ appointmen ts/request _appointme nt_detail'
  8   require 'w atir-scrol l'
  9  
  10   describe ' [Story VAR -9586:CC R equest - S elect Faci lity  ("Ho me") – Mul tiple Site s (Support ed);
  11               Story VAR -9577:CC R equest - S elect Faci lity  ("Ho me") – One  Site (Sup ported);
  12               Story VAR -9576:CC R equest - S elect Serv ice – Mult iple DFNs  – None are  Integrate d VistAs,  Add Suppor ted Facili ty Check
  13               Story VAR -10726:Lab el update:   Change F acility Lo cation to  Location]'  do
  14     include  DriverUtil ity
  15     include  MongoUtili ty
  16  
  17     before(: all) do
  18       @db =  connectToM ongoDB("va r-utility" )
  19       initia lizeConfig urations(V AR_BASE_UR L)
  20       @cc_po  = Communi tyCare_Pag eObject.ne w(@driver)
  21       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  22     end
  23  
  24     after(:a ll) do
  25       @cc_po .loginLogo ut.logout
  26       restor eCollectio n("siteSup portingVAR ", "var-ut ility", "s ites-suppo rting-var- exported2. json", @db )
  27     end
  28  
  29  
  30     context  "CC Reques t - Select  Service –  Multiple  DFNs – Non e are Inte grated Vis tAs, Add S upported F acility Ch eck" do
  31       it "Us er should  able to lo g in " do
  32         remo veCollecti on("siteSu pportingVA R", @db)
  33           @cc_po.com mon.loginE ndsOnHome( pw_reda c t e d )
  34       end
  35  
  36       it "Lo gin and na vigate to  step 3 wiz ard of Sel ect Facili ty" do
  37         @cc_ po.common. selectAddA ppointment Button("CC ")
  38         slee p 3
  39         expe ct(@cc_po. communityC are.radio_ btn_elemen ts[0].set? ).to eq tr ue
  40         expe ct(@cc_po. communityC are.radio_ btn_elemen ts[1].disa bled?).to  eq true
  41         expe ct(@cc_po. communityC are.unsupp orted_inst r_text_ele ment.text) .to eq("Th is app doe s not curr ently supp ort Commun ity Care f or the sit e(s) where  you are r egistered.  Please ca ll your lo cation if  you are in terested i n Communit y Care opt ions.")
  42       end
  43  
  44  
  45       it "Ve rify the S tep 3:Faci lity secti on and fac ilities ar e not sele cted by de fault" do
  46         @cc_ po.communi tyCare.app _request_b ak
  47         @cc_ po.modal.c ancel_yes
  48         rest oreCollect ion("siteS upportingV AR", "var- utility",  "sites-sup porting-va r-exported 2.json", @ db)
  49         refr eshBrowser
  50         slee p(4)
  51         @cc_ po.common. selectAddA ppointment Button("CC ")
  52         @cc_ po.communi tyCare.eli gibility_y es_element .click
  53         @cc_ po.communi tyCare.con tinue_btn
  54         expe ct(@cc_po. communityC are.step3_ text_eleme nt.text.sp lit("\n")) .to eq(["S tep 3: Loc ation"])
  55         expe ct(@cc_po. communityC are.step3_ instructio n_element. text).to e q("Our rec ords show  that you h ave been s een at mor e than one  VA locati on. Reques ts for com munity car e appointm ents shoul d be sent  to your cl osest VA l ocation fo r processi ng.")
  56         expe ct(@cc_po. communityC are.select _facility_ element.te xt).to eq( "Select a  location t o process  this reque st:")
  57         expe ct(@cc_po. communityC are.facili ty_radio_b tn_element s[1].check ed?).to eq  false
  58         @cc_ po.communi tyCare.fac ility_radi o_btn_elem ents[1].cl ick
  59         @cc_ po.communi tyCare.exi t_button
  60         @cc_ po.modal.c ancel_yes
  61       end
  62  
  63       it "Ve rify Singl e supporte d facility  is select ed by defa ult, unsup ported Fac ility is g rayed out"  do
  64         remo veDocument ("siteSupp ortingVAR" , "631", @ db)
  65         remo veDocument ("siteSupp ortingVAR" , "516", @ db)
  66         remo veDocument ("siteSupp ortingVAR" , "636", @ db)
  67         refr eshBrowser
  68         slee p(3)
  69         @cc_ po.common. waitWhileS pinnerPres ent
  70         @cc_ po.common. selectAddA ppointment Button("CC ")
  71         @cc_ po.communi tyCare.eli gibility_y es_element .click
  72         @cc_ po.communi tyCare.con tinue_btn
  73         expe ct(@cc_po. communityC are.facili ty_radio_b tn_element s[0].check ed?).to eq  true
  74         expe ct(@cc_po. communityC are.facili ty_radio_b tn_element s[1].attri bute("disa bled")).to  eq("true" )
  75         expe ct(@cc_po. communityC are.disabl ed_label_f acility_el ement.text ).to eq("T his locati on is not  currently  supporting  community  care requ ests.")
  76         end
  77  
  78     def comp _text(expe cted_conte nt, actual _content)
  79       expect ed_content .each_with _index do  |expectedS creenRow,  i|
  80         expe ct(actual_ content[i] .to_s.stri p).to eq(e xpectedScr eenRow.to_ s.strip)
  81       end
  82       expect (expected_ content.si ze).to eq( actual_con tent.size)
  83     end
  84  
  85     end
  86  
  87     end
  88