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

2685.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\community_care cc_landing_page_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\community_care cc_landing_page_spec.rb Thu May 3 13:47:18 2018 UTC

2685.2 Comparison summary

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

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

2685.4 Active regular expressions

No regular expressions were active.

2685.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 'w atir-webdr iver'
  5   require_re lative '.. /../module /DriverUti lity'
  6  
  7  
  8  
  9   describe ' [Story VAR -9231 :Lan ding Page  (unauthent icated/log in page) -  Add descr iptive inf o regardin g app feat ures;
  10               Story VAR -9473 : Le arn About  Community  Care - Mod al and Inf o Text (Un authentica ted User);
  11                 ]' do
  12  
  13     include  DriverUtil ity
  14  
  15     shared_c ontext "Sh ared Test"  do
  16     before(: all) do
  17       initia lizeConfig urations(C C_URL)
  18       @cc_po  = Communi tyCare_Pag eObject.ne w(@driver)
  19       @cc_po _appointme nts = Land ingAppoint ments.new( @driver)
  20       Watir: :Wait.unti l {@cc_po. eula.accep t_element. exists?}
  21       @cc_po .eula.acce pt_element .when_pres ent(TIME_O UT_LIMIT)
  22       @cc_po .eula.acce pt
  23       @cc_po .common.wa itWhileSpi nnerPresen t
  24     end
  25  
  26     after(:a ll) do
  27       quitDr iver
  28     end
  29  
  30     end
  31  
  32     context  "AC#VAR-94 90|TC#VAR- 9535: Land ing Page ( unauthenti cated/logi n page) -  Add descri ptive info  regarding  app featu res" do
  33       includ e_context  "Shared Te st"
  34  
  35       it "ve rify un-au thenticate  landing p age info"  do
  36         @cc_ po.landing .landing_p age_title_ element.wh en_visible (TIME_OUT_ LIMIT)
  37         expe ct(@cc_po. landing.la nding_page _title_ele ment.text) .to eq("We lcome to V A Appointm ents")
  38         expe ct(@cc_po. landing.te xt).to eq( "The VA Ap pointment  app allows  patients  to:")
  39         actu al_content  = @cc_po. landing.ap p_allows_l ist_elemen t.text.spl it("\n")
  40         expe cted_conte nt = [\
  41         "Sch edule appo intments f or support ed types o f care dir ectly with  the VA fa cility.",
  42         "Sub mit reques ts to a sc heduling c lerk for a  VA facili ty appoint ment.",
  43         "Sub mit reques ts for non  VA appoin tments (Co mmunity Ca re) to a s cheduling  clerk (dis tance elig ible veter ans only). "
  44         ]
  45         comp _text(expe cted_conte nt, actual _content)
  46  
  47       end
  48  
  49       it "ve rify the L earn About  CC Modal  content" d o
  50         @cc_ po.landing CC.learn_c c
  51         @cc_ po.landing CC.learn_c c_text_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  52         p ac tual_conte nt = (@cc_ po.landing CC.learn_c c_text_ele ment.text) .split("\n ")
  53  
  54         expe cted_conte nt = [\
  55         "Lea rn About C ommunity C are",
  56         "The  Veterans  Choice Pro gram (VCP) , part of  Community  Care, allo ws Veteran s who are  already en rolled in  VA Healthc are to rec eive healt h care in  their comm unity, whi le still h aving acce ss to thei r regular  VA health  care. Unde r the VCP,  Veterans  who have t o wait mor e than 30  days or tr avel over  40 miles a re able to  receive c are in the  community , connecti ng them to  timely an d convenie nt access  to health  care. VCP  40 mile el igible Vet erans will  now be ab le to subm it schedul ing reques ts directl y through  the VA App ointments  app.",
  57         "",
  58           "To learn  more infor mation abo ut the Vet erans Choi ce Program  and to se e if you a re eligibl e visit: h ttps://www . DNS     /opa/choic eact/",
  59           "To access  a current  list of a pproved pr oviders, v isit: http s://www. DNS     /opa/apps/ locator/in dex.html",
  60         "OK"
  61         ]
  62         comp _text(expe cted_conte nt, actual _content)
  63       end
  64  
  65       it "Ve rify the e xternal li nk on Lear n CC Modal " do
  66         @cc_ po.landing CC.link_ve t_choice
  67         @cc_ po.landing CC.modal_t itle_eleme nt.when_vi sible(TIME _OUT_LIMIT )
  68         expe ct(@cc_po. landingCC. modal_titl e_element. text).to e q("Confirm ation")
  69         expe ct(@cc_po. landingCC. modal_cont ent_elemen t.text).to  eq("You a re about t o leave th e VA Appoi ntments ap p. Select  CONTINUE t o proceed  to the lin k informat ion select ed, or sel ect RETURN  to return  to the VA  Appointme nts app.")
  70         slee p(4)
  71         @cc_ po.landing CC.modal_r eturn_btn
  72       end
  73  
  74  
  75       def co mp_text(ex pected_con tent, actu al_content )
  76         expe cted_conte nt.each_wi th_index d o |expecte dScreenRow , i|
  77           ex pect(actua l_content[ i].to_s.st rip).to eq (expectedS creenRow.t o_s.strip)
  78         end
  79         expe ct(expecte d_content. size).to e q(actual_c ontent.siz e)
  80       end
  81  
  82     end
  83     end
  84