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

278.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 upadate_upcoming_appointments_screen_loading_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 upadate_upcoming_appointments_screen_loading_spec.rb Fri Dec 7 13:25:52 2018 UTC

278.2 Comparison summary

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

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

278.4 Active regular expressions

No regular expressions were active.

278.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/ app_option s_menu'
  16   require_re lative '.. /../pages/ landing_ap pointments '
  17   require_re lative '.. /../module /database/ OracleUtil ity'
  18   require_re lative '.. /../pages/ appointmen ts/new_app ointment_r equest'
  19   require_re lative '.. /../pages/ appointmen ts/booked_ appointmen t_detail'
  20   require_re lative '.. /../module /DateUtili ty'
  21   require_re lative '.. /../pages/ user_menu'
  22   require_re lative '.. /../module /database/ OracleUtil ity'
  23   require_re lative '.. /../common /cancel_ap pointment'
  24  
  25  
  26   describe ' [Story# VA R-12367: U pdate the  upcoming a ppointment s screen l oading fun ctionality ]'  do
  27     include  DriverUtil ity
  28     include  OracleUtil ity
  29  
  30  
  31     before(: all) do
  32       initia lizeConfig urations(V AR_BASE_UR L)
  33       @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver)
  34       @landi ng = Landi ng.new(@dr iver)
  35       @login  = Login.n ew(@driver )
  36       @commo n = Common .new(@driv er)
  37       @eula  = Eula.new (@driver)
  38       @user_ menu = Use rMenuOptio n.new(@dri ver)
  39       @modal  = Modal.n ew(@driver )
  40       @new_a ppointment  = NewAppo intmentReq uest.new(@ driver)
  41       @detai l = Booked Appointmen tDetail.ne w(@driver)
  42       APPOIN TMENTS = " Appointmen ts/Request s"
  43       @seven DaysFromNo w = getDat eNthDaysFr omNow(7, " %m/%d/%Y")
  44       @@time Slot = "11 :00"
  45       #cance l existing  appointme nt
  46         @cancel_ap pointment  = CancelAp pointment. new("CLINI C_BASED_BO STON", "52 3","#{ pw_reda c t e d ['userid'] }")
  47       @cance l_appointm ent.update _appointme nt_obj("ap pointmentT ime", "#{@ sevenDaysF romNow} 11 :00:00")
  48       @cance l_appointm ent.cancel _appointme nt()
  49  
  50     end
  51  
  52     after(:a ll) do
  53       @drive r.close
  54     end
  55  
  56     context  '[AC#VAR-1 2367|TC#VA R-12576: V alidate Up date the u pcoming ap pointments  screen lo ading]'do
  57  
  58       it "Ve rify Loadi ng message " do
  59           @common.lo ginEndsOnH ome( pw_reda c t e d )
  60         @lan ding_appoi ntments.ap pointment_ header_ele ment.when_ present(TI ME_OUT_LIM IT)
  61         @lan ding_appoi ntments.cl ickRefresh
  62         @mod al.loading Modal_elem ent.when_p resent(TIM E_OUT_LIMI T)
  63         expe ct(@modal. loadingMod al).to eq( "Loading y our appoin tment data . This ste p may take  a few min utes.")
  64       end
  65  
  66       it 'Sh ould verif y loading  text after  selecting  clinic' d o
  67         slee p 2
  68         @com mon.waitWh ileSpinner Present
  69         @lan ding_appoi ntments.ad d_top_btn_ element.wh en_present (TIME_OUT_ LIMIT)
  70         @lan ding_appoi ntments.ap pointment_ header_ele ment.when_ present(TI ME_OUT_LIM IT)
  71         @com mon.select AddAppoint mentButton ("VA")
  72         @new _appointme nt.selectN ewAppointm entAndSche dule(PRIMA RY_CARE, " 523", "523 ", "direct ")
  73         @new _appointme nt.clinic_ radio_elem ents[1].wh en_present (TIME_OUT_ LIMIT)
  74         @new _appointme nt.select_ clinic_rad io("32")
  75         @mod al.loading Modal_elem ent.when_p resent(TIM E_OUT_LIMI T)
  76         expe ct(@modal. loadingMod al).to eq( "Loading y our appoin tment data . This ste p may take  a few min utes.")
  77       end
  78  
  79       it "sh ould verif y loading  text after  schedule  appointmen t is click ed" do
  80         @new _appointme nt.provide ReasonForA ppointment ("This is  new switch ed clinic" )
  81         @new _appointme nt.selectP referedDat e(@sevenDa ysFromNow,  @@timeSlo t)
  82         @@se tDate = Ne wAppointme ntRequest. bookedDate
  83         @new _appointme nt.enterEm ail("testS C@test.com ")
  84         @new _appointme nt.schedul e_appointm ent_elemen t.wait_unt il_present (TIME_OUT_ LIMIT)
  85         butt on_element  = @driver .button(:i d => 'sche dule-appoi ntment-btn ')
  86         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  87         @mod al.loading Modal_elem ent.when_p resent(TIM E_OUT_LIMI T)
  88         expe ct(@modal. loadingMod al).to eq( "Loading y our appoin tment data . This ste p may take  a few min utes.")
  89       end
  90  
  91       it "Ve rify appoi ntment is  scheduled"  do
  92         @com mon.waitWh ileSpinner Present()
  93         Wati r::Wait.un til {@deta il.appoint ment_detai ls_group_e lement.pre sent?}
  94         Wati r::Wait.un til {@deta il.appoint ment_detai ls_group_e lement.tex t.include? ("Reason f or Appoint ment")}
  95         expe ct(@detail .appointme nt_status_ group_elem ent.text). to eq("Sta tus:  Sche duled")
  96       end
  97  
  98       it "sh ould verif y loading  text when  appointmen t is being  cancelled " do
  99         @det ail.cancel _appointme nt_element .when_pres ent(TIME_O UT_LIMIT)
  100         @det ail.cancel _appointme nt
  101         @mod al.loading Modal_elem ent.when_p resent(TIM E_OUT_LIMI T)
  102         expe ct(@modal. loadingMod al).to eq( "Processin g your can cellation.  This step  may take  a few minu tes.")
  103       end
  104  
  105       it "sh ould verif y loading  text when  appointmen t cancella tion is co nfirmed" d o
  106         @com mon.waitWh ileSpinner Present
  107         @det ail.select ReasonForC ancellatio n("TRANSFE R OPT CARE  TO OTHER  VA")
  108         slee p 2
  109         @det ail.confir m_cancella tion_eleme nt.when_pr esent(TIME _OUT_LIMIT )
  110         butt on_element  = @driver .button(:i d => 'canc el-appoint ment-btn')
  111         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  112         @mod al.loading Modal_elem ent.when_p resent(TIM E_OUT_LIMI T)
  113         expe ct(@modal. loadingMod al).to eq( "Processin g your can cellation.  This step  may take  a few minu tes.")
  114       end
  115     end
  116   end
  117  
  118  
  119  
  120  
  121  
  122  
  123  
  124