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

302.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\user-menu help_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\user-menu help_spec.rb Fri Dec 7 13:26:02 2018 UTC

302.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 218
Changed 3 6
Inserted 1 1
Removed 0 0

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

302.4 Active regular expressions

No regular expressions were active.

302.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/ user_menu'
  17   require_re lative '.. /../helper /modal'
  18  
  19  
  20   describe ' [Story# VA R-4406: St andardize  Help Conte nt]'  do
  21     include  DriverUtil ity
  22  
  23     before(: all) do
  24       initia lizeConfig urations(V AR_BASE_UR L)
  25       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  26       @landi ng = Landi ng.new(@dr iver)
  27       @login  = Login.n ew(@driver )
  28       @commo n = Common .new(@driv er)
  29       @eula  = Eula.new (@driver)
  30       @user_ menu = Use rMenuOptio n.new(@dri ver)
  31       @modal  = Modal.n ew(@driver )
  32       APPOIN TMENTS = " Appointmen ts/Request s"
  33         @common.lo ginEndsOnH ome( pw_reda c t e d )
  34  
  35     end
  36  
  37     after(:a ll) do
  38       @drive r.close
  39     end
  40  
  41     context  'AC#VAR-54 27|TC#vAR- 5428: Vali date Help  Content' d o
  42       it "Lo gin to VAR " do
  43         @lan ding.foote rUserInfo_ element.wh en_visible (TIME_OUT_ LIMIT)
  44         @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT)
  45         expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS)
  46  
  47       end
  48  
  49       it "He lp option  added in U ser Menu"  do
  50         @use r_menu.use rMenu_elem ent.when_v isible(TIM E_OUT_LIMI T)
  51         butt on_element  = @driver .button(:i d => 'user -menu-btn' )
  52         exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt)
  53         @use r_menu.hel p_element. when_visib le(TIME_OU T_LIMIT)
  54         expe ct( @user_ menu.help_ element.te xt).to eq( "Help")
  55       end
  56  
  57       it "Sh ould verif y clicking  on help o pens the h elp Modal"  do
  58         butt on_element  = @driver .button(:i d => 'help -btn')
  59         exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt)
  60         @com mon.waitWh ileSpinner Present
  61         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  62         expe ct(@modal. modalTitle ).to eq("H elp")
  63  
  64       end
  65  
  66       it "sh ould verif y the deta ils on hel p modal" d o
  67           expect(@mo dal.conten t).to eq(" Help Desk  (toll free ): (877) 4 70-5947 We ekdays 7 a .m. - 7 p. m. (CT)\nI f you need  assistanc e with the  VA Appoin tments App , dial 1-8 77-470-594 7 to speak  with a He lp Desk Re presentati ve. The He lp Desk is  open Mond ay - Frida y from 7 a .m. to 7 p .m. CST. F or TTY ass istance, d ial 711. I f you have  questions  about you r DS Logon  account,  visit mobi le. DOMAIN . EX /dslogon o r dial 1-8 00-983-093 7 for assi stance. Mo bile App T raining: P lease visi t mobile. DOMAIN . EX /appstore,  and searc h for the  VA Appoint ment App t o access t raining ma terials.\n Emergencie s\nIf you  feel that  your infor mation may  have been  compromis ed, contac t your loc al VA faci lity to ob tain the c ontact inf ormation f or your Pr ivacy Offi cer. To id entify you r local VA  facility,  visit Vie w VA Facil ities, or  by copying  and pasti ng the fol lowing lin k into you r browser:  https://w ww. DOMAIN . EX /directory /guide/div ision.asp? dnum=1. No te that yo u should n ever use t his app in  an emerge ncy situat ion. If yo u encounte r an emerg ency, call  your loca l medical  center or  dial 911.  Veterans C risis Line : 1-800-27 3-8255 Pre ss 1.\nUse r Guide")
  68       end
  69  
  70       it "sh ould verif y modile a pp trainin g link" do
  71           expect(@us er_menu.ap pStoreLink _element.t ext).to eq ("mobile. DOMAIN . EX /appstore" )
  72       end
  73  
  74       it "sh ould verif y view VA  facilities  link" do
  75         expe ct(@user_m enu.facili tyLocatorL ink_elemen t.text).to  eq("View  VA Facilit ies")
  76       end
  77  
  78       it "sh ould verif y user gui de link" d o
  79         expe ct(@user_m enu.userGu ideLink_el ement.text ).to eq("U ser Guide" )
  80  
  81       end
  82  
  83       it "sh ould open  the User g uide when  clicked" d o
  84         #cli ck the Use r Guide li nk
  85         @use r_menu.use rGuideLink
  86         swit chWindowTo WindowHand leLast
  87         expe ct(getCurr entURL).to  include(" app/module s/user-gui de/Veteran _Appointme nt_Request _UG.pdf")
  88       end
  89  
  90       it "sh ould displ ay ok butt on on help  modal" do
  91         swit chWindowTo WindowHand leFirst
  92         @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  93         expe ct(@modal. buttons_el ements[0]. text).to e q("OK")
  94       end
  95  
  96       it "sh ould close  help moda l once ok  is clicked " do
  97         @mod al.buttons _elements[ 0].click
  98         @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT)
  99         expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS)
  100       end
  101  
  102     end
  103   end
  104  
  105  
  106  
  107  
  108  
  109  
  110  
  111  
  112  
        113   TTTT