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

279.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 add_providers_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 add_providers_spec.rb Fri Dec 7 13:25:54 2018 UTC

279.2 Comparison summary

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

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

279.4 Active regular expressions

No regular expressions were active.

279.5 Comparison detail

  1   require 'r ubygems'
  2   require 'r spec'
  3   require 'w atir-webdr iver'
  4   require 'p age-object '
  5   require_re lative '.. /rspec_hel per'
  6   require_re lative '.. /../pages/ community_ care/commu nity_Care_ PageObject '
  7   require 'r ubygems'
  8   require_re lative '.. /../module /DriverUti lity'
  9  
  10   describe ' [Story VAR -10006 :CC  Request -  Provider  Preference s - Includ e up to th ree prefer red provid ers', :var List_MockS ervice =>  false do
  11     include  DriverUtil ity
  12     include  DateUtilit y
  13     include  OracleUtil ity
  14     before(: all) do
  15       initia lizeConfig urations(V AR_BASE_UR L)
  16       @cc_po  = Communi tyCare_Pag eObject.ne w(@driver)
  17       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  18       delete PatientDat a("1113138 327")
  19       delete Notificati onPreferen ce("111313 8327")
  20       @today  = getDate NthDaysFro mNow(0, "% m/%d/%Y")
  21       @today hr = getNt hHoursFrom Now(0)
  22       @today min = getN thMinFromN ow(0)
  23       @ninte enDaysLate r = getDat eNthDaysFr omNow(19,  "%m/%d/%Y" )
  24       @fiveD aysLater =  getDateNt hDaysFromN ow(5,"%m/% d/%Y")
  25       @seven DaysLater  = getDateN thDaysFrom Now(7,"%m/ %d/%Y")
  26         @cc_po.com mon.loginE ndsOnHome( pw_reda c t e d )
  27       @cc_po .common.se lectAddApp ointmentBu tton("CC")
  28     end
  29  
  30     after(:a ll) do
  31       @cc_po .loginLogo ut.logout
  32     end
  33  
  34     context  "AC#11279| TC#11280:C C Request  - Provider  Preferenc es - Inclu de up to t hree prefe rred provi ders" do
  35       it "Lo gin and na vigate to  Provider P reference  wizard" do
  36         @cc_ po.communi tyCare.dis tanceElibl eVeteran(" yes")
  37         @cc_ po.communi tyCare.cli ckContinue Button
  38         @cc_ po.communi tyCare.sel ectLocatio n("BOSTON  HCS VAMC")
  39         @cc_ po.communi tyCare.sel ectTypeOfC are("Optom etry (rout ine eye ex am)")
  40         @cc_ po.communi tyCare.con _yes_eleme nt.click
  41         @cc_ po.communi tyCare.cli ckContinue Button
  42         @cc_ po.communi tyCare.cho ice1_date  = @ninteen DaysLater
  43         @cc_ po.communi tyCare.rad io_am_pm_e lements[1] .click
  44         @cc_ po.communi tyCare.cho ice2_date  = @fiveDay sLater
  45         @cc_ po.communi tyCare.rad io_am_pm_e lements[3] .click
  46         @cc_ po.communi tyCare.cho ice3_date  = @sevenDa ysLater
  47         @cc_ po.communi tyCare.rad io_am_pm_e lements[4] .click
  48         @cc_ po.communi tyCare.cli ckContinue Button
  49         @cc_ po.communi tyCare.pro vider_city _element.w hen_presen t(TIME_OUT _LIMIT)
  50         expe ct((@cc_po .community Care.step_ heading_el ement.text ).gsub(/\n +/, ' ')). to eq("Ste p 6: Provi der Prefer ences")
  51       end
  52  
  53  
  54       it "Ve rify Prefe rred provi der sectio n labels"  do
  55         @cc_ po.communi tyCare.pro videLocati onDetails( "Dulles",  "VA", "201 66", "10",  "Chinese" , "all")
  56         @cc_ po.communi tyCare.pre ferred_pro viders_all _fields_el ement.when _present(T IME_OUT_LI MIT)
  57         actu al_content  = @cc_po. communityC are.prefer red_provid ers_all_fi elds_eleme nt.text.sp lit("\n")
  58         expe cted_conte nt = [\
  59         "Pre ferred Pro viders",
  60         "You  may indic ate up to  three prov iders. Ple ase visit  our Vetera n Choice L ocator to  find a pro vider on o ur approve d list.",
  61         "Pro vider Choi ce #1",
  62         "Fir st Name",
  63         "Las t Name",
  64         "Pra ctice Name ",
  65         "Str eet Addres s",
  66         "Cit y",
  67         "Sta te","Selec t","AL","A K","AR","A S","AZ","C A","CO","C T","DE","D C", "FL",  "GA", "GU" , "HI", "I D", "IL",  "IN", "IA" , "KS", "K Y", "LA",  "ME", "MD" , "MA", "M I", "MN",  "MS", "MO" , "MT", "N E", "NV",  "NH", "NJ" , "NM", "N Y", "NC",  "ND", "MP" , "OH", "O K", "OR",  "PA", "PR" , "RI", "S C", "SD",  "TN", "TX" , "UT", "V I", "VT",  "VA", "WA" , "WV", "W I", "WY",
  68         "ZIP  Code",
  69         "+ A dd Provide r"
  70         ]
  71         comp areContent s(expected _content,  actual_con tent)
  72       end
  73  
  74       it "Ve rify Add P rovider bu tton fucnt ionality a nd Provide r-2 fields /texts" do
  75         @cc_ po.communi tyCare.cli ckAddProvi der
  76         @cc_ po.communi tyCare.pri mary_provi der_2_fiel ds_element .when_pres ent(TIME_O UT_LIMIT)
  77         actu al_content  = @cc_po. communityC are.primar y_provider _2_fields_ element.te xt.split(" \n")
  78         expe cted_conte nt = [\
  79         "Pro vider Choi ce #2",
  80         "Fir st Name",
  81         "Las t Name",
  82         "Pra ctice Name ",
  83         "Str eet Addres s",
  84         "Cit y",
  85         "Sta te","Selec t","AL","A K","AR","A S","AZ","C A","CO","C T","DE","D C", "FL",  "GA", "GU" , "HI", "I D", "IL",  "IN", "IA" , "KS", "K Y", "LA",  "ME", "MD" , "MA", "M I", "MN",  "MS", "MO" , "MT", "N E", "NV",  "NH", "NJ" , "NM", "N Y", "NC",  "ND", "MP" , "OH", "O K", "OR",  "PA", "PR" , "RI", "S C", "SD",  "TN", "TX" , "UT", "V I", "VT",  "VA", "WA" , "WV", "W I", "WY",
  86         "ZIP  Code",
  87         "Del ete",
  88         "+ A dd Provide r"
  89         ]
  90         comp areContent s(expected _content,  actual_con tent)
  91       end
  92  
  93       it "Ve rify Add P rovider bu tton fucnt ionality a nd Provide r-3 fields /texts" do
  94         butt on_element  = @driver .button(:c ss => '.pr imary-prov ider2 #add -provider' )
  95         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  96         @cc_ po.communi tyCare.pri mary_provi der_3_fiel ds_element .when_pres ent(TIME_O UT_LIMIT)
  97         actu al_content  = @cc_po. communityC are.primar y_provider _3_fields_ element.te xt.split(" \n")
  98         expe cted_conte nt = [\
  99         "Pro vider Choi ce #3",
  100         "Fir st Name",
  101         "Las t Name",
  102         "Pra ctice Name ",
  103         "Str eet Addres s",
  104         "Cit y",
  105         "Sta te","Selec t","AL","A K","AR","A S","AZ","C A","CO","C T","DE","D C", "FL",  "GA", "GU" , "HI", "I D", "IL",  "IN", "IA" , "KS", "K Y", "LA",  "ME", "MD" , "MA", "M I", "MN",  "MS", "MO" , "MT", "N E", "NV",  "NH", "NJ" , "NM", "N Y", "NC",  "ND", "MP" , "OH", "O K", "OR",  "PA", "PR" , "RI", "S C", "SD",  "TN", "TX" , "UT", "V I", "VT",  "VA", "WA" , "WV", "W I", "WY",
  106         "ZIP  Code",
  107         "Del ete"
  108         ]
  109         comp areContent s(expected _content,  actual_con tent)
  110       end
  111  
  112       it "Ve rify Addit ion Appoin tment Pref erences fi eld" do
  113         @cc_ po.communi tyCare.add itional_ap pt_prefere nces_field _element.w hen_presen t(TIME_OUT _LIMIT)
  114         expe ct(@cc_po. communityC are.additi onal_appt_ preference s_field_el ement.text ).to eq "O ther Provi der Prefer ences\n(25 0 char lim it)\n250 c haracters  remaining"
  115       end
  116  
  117       it "Ve rify user  can delete  a provide r section"  do
  118         butt on_element  = @driver .button(:c ss => 'but ton[id=\'3 \']')
  119         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  120         @dri ver.elemen t(:css=>'. primary-pr ovider1 #a dd-provide r').when_p resent(TIM E_OUT_LIMI T)
  121         slee p 2
  122         expe ct(@cc_po. communityC are.provid er_3_heade r_element. visible?). to eq(fals e)
  123       end
  124  
  125       it "Ve rify Delet ing a prev ious provi der sectio n will re  arrange Pr ovided pre ference" d o
  126         butt on_element  = @driver .button(:c ss => '.pr imary-prov ider2 #add -provider' )
  127         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  128         @cc_ po.communi tyCare.pri mary_provi der_3_fiel ds_element .when_pres ent(TIME_O UT_LIMIT)
  129         butt on_element  = @driver .button(:c ss => 'but ton[id=\'2 \']')
  130         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  131         @dri ver.elemen t(:css=>'. primary-pr ovider1 #a dd-provide r').when_p resent(TIM E_OUT_LIMI T)
  132         slee p 2
  133         expe ct(@cc_po. communityC are.provid er_3_heade r_element. visible?). to eq(fals e)
  134       end
  135  
  136     end
  137  
  138   end