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

275.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\common_fucntionality display_pact_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\common_fucntionality display_pact_spec.rb Fri Dec 7 13:25:52 2018 UTC

275.2 Comparison summary

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

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

275.4 Active regular expressions

No regular expressions were active.

275.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 '.. /../common /common'
  12   require_re lative '.. /../pages/ appointmen ts/new_app ointment_r equest'
  13   require_re lative '.. /../helper /modal'
  14   require_re lative '.. /../module /database/ OracleUtil ity'
  15   require_re lative '.. /../module /DateUtili ty'
  16   require_re lative '.. /../module /database/ MongoUtili ty'
  17   require_re lative '.. /../pages/ landing_ap pointments '
  18   require_re lative '.. /../pages/ landing_no tification s'
  19  
  20   describe ' [Story# VA R-9964: Lo cation Boo king - Dis play PACT] '  do
  21  
  22     include  DriverUtil ity
  23     include  OracleUtil ity
  24     include  DateUtilit y
  25     include  MongoUtili ty
  26  
  27  
  28     before(: all) do
  29       initia lizeConfig urations(V AR_BASE_UR L)
  30       @commo n = Common .new(@driv er)
  31       @modal  = Modal.n ew(@driver )
  32       @new_a ppointment  = NewAppo intmentReq uest.new(@ driver)
  33       @landi ng_notific ations = L andingNoti fications. new(@drive r)
  34       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  35       @modal  = Modal.n ew(@driver )
  36       TITLE  = "Appoint ments/Requ ests"
  37       @db =  connectToM ongoDB('va r-utility' )
  38       restor eCollectio n('directB ookingElig ibilityCri teria', 'v ar-utility ', 'boston DirectSche duling.jso n', @db)
  39       restor eCollectio n('request Eligibilit yCriteria' , 'var-uti lity', 'bo stonReques tEligibili ty.json',  @db)
  40         @common.lo ginEndsOnH ome( pw_reda c t e d )
  41       @commo n.selectAd dAppointme ntButton(" VA")
  42     end
  43  
  44     after(:a ll) do
  45       @drive r.close
  46     end
  47  
  48     context  'AC#VAR-10 180|TC#VAR -10179: Lo cation Boo king - Dis play PACT'  do
  49  
  50       it 'sh ould displ ay the PAC T team' do
  51         @new _appointme nt.selectT ypeOfCare( PRIMARY_CA RE)
  52         @new _appointme nt.selectS tate("523" )
  53         @new _appointme nt.single_ facility_p act_elemen t.when_pre sent(TIME_ OUT_LIMIT)
  54  
  55         #Dis plays the  PACT Team  info
  56         expe cted_conte nt =[\
  57                             "Provi ders:",
  58                             "Cream er, Kent",
  59                             "Your  Care Team  (PACT)"
  60         ]
  61  
  62         actu al_content  = @new_ap pointment. single_fac ility_pact _element.t ext.split( "\n")
  63  
  64         comp areContent s( expecte d_content,  actual_co ntent)
  65       end
  66  
  67       it 'Ve rify Detai ls for Pac t Team' do
  68  
  69         #Dis plays the  Care Team
  70         @new _appointme nt.view_pa ct_team_el ement.when _present(T IME_OUT_LI MIT)
  71         @new _appointme nt.view_pa ct_team_el ement.clic k
  72         @mod al.modalTi tle_elemen t.wait_unt il_present (TIME_OUT_ LIMIT)
  73         expe ct(@modal. modalTitle _element.t ext).to eq  "PACT Mem bers"
  74         expe cted_conte nt =[\
  75                             "Prima ry Care Pr oviders:",
  76                             "Cream er, Kent",
  77                             "Team  List:",
  78                             "Gomez , Shane; M cCormack,  Asia; Park er, Corinn a; Perry,  Mary; Tate , Vickie"
  79         ]
  80  
  81         actu al_content  = @modal. content_el ement.text .split("\n ")
  82  
  83         comp areContent s( expecte d_content,  actual_co ntent)
  84  
  85       end
  86  
  87       it 'Ve rify Pact  Team for M ulti Facil ity' do
  88         @mod al.buttons _elements[ 0].click
  89         rest oreCollect ion("reque stEligibil ityCriteri a", "var-u tility", " requestEli gibilityCr iteria.jso n", @db)
  90         rest oreCollect ion("direc tBookingEl igibilityC riteria",  "var-utili ty", "dire ctScheduli ngEnabled. json", @db )
  91         @new _appointme nt.cancelF orm
  92         @com mon.select AddAppoint mentButton ("VA")
  93         @new _appointme nt.selectT ypeOfCare( PRIMARY_CA RE)
  94         @new _appointme nt.selectS tate("523" )
  95         @new _appointme nt.selectL ocation("5 23")
  96         @new _appointme nt.pact_te am_element .when_pres ent(TIME_O UT_LIMIT)
  97  
  98         #Dis plays the  PACT Team  info
  99         expe cted_conte nt =[\
  100                             "Provi ders:",
  101                             "Cream er, Kent",
  102                             "Your  Care Team  (PACT)"
  103         ]
  104  
  105         actu al_content  = @new_ap pointment. pact_team_ element.te xt.split(" \n")
  106  
  107         comp areContent s( expecte d_content,  actual_co ntent)
  108  
  109       end
  110  
  111       it 'Ve rify Detai ls of Pact  Team' do
  112  
  113         @new _appointme nt.view_pa ct_team_el ement.when _present(T IME_OUT_LI MIT)
  114         @new _appointme nt.view_pa ct_team_el ement.clic k
  115         @mod al.modalTi tle_elemen t.wait_unt il_present (TIME_OUT_ LIMIT)
  116         expe ct(@modal. modalTitle _element.t ext).to eq  "PACT Mem bers"
  117         expe cted_conte nt =[\
  118                             "Prima ry Care Pr oviders:",
  119                             "Cream er, Kent",
  120                             "Team  List:",
  121                             "Gomez , Shane; M cCormack,  Asia; Park er, Corinn a; Perry,  Mary; Tate , Vickie"
  122         ]
  123  
  124         actu al_content  = @modal. content_el ement.text .split("\n ")
  125  
  126         comp areContent s( expecte d_content,  actual_co ntent)
  127         @mod al.buttons _elements[ 0].click
  128       end
  129  
  130     end
  131  
  132   end