Produced by Araxis Merge on 12/7/2018 11:36:06 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.
| # | 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\appointments | disabled_methods_instructinal_text_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\appointments | disabled_methods_instructinal_text_spec.rb | Fri Dec 7 13:25:48 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 184 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 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/ appointmen ts/new_app ointment_r equest' | |
| 17 | require_re lative '.. /../pages/ appointmen ts/booked_ appointmen t_detail' | |
| 18 | require_re lative '.. /../helper /modal' | |
| 19 | require_re lative '.. /../module /database/ OracleUtil ity' | |
| 20 | require_re lative '.. /../module /DateUtili ty' | |
| 21 | require_re lative '.. /../helper /error_val idation' | |
| 22 | require_re lative '.. /../module /database/ MongoUtili ty' | |
| 23 | require_re lative '.. /../pages/ feedback' | |
| 24 | require_re lative '.. /../pages/ landing_no tification s' | |
| 25 | ||
| 26 | describe ' [Story# VA R-7864: Ne w Appointm ent/Reques t Form: Ro uting ques tion - Ste p 2: Locat ion] | |
| 27 | [Story# VA R-7912: Ne w Appointm ent/Reques t Form: Ro uting ques tion - Ste p 3: Metho d]' do | |
| 28 | ||
| 29 | include DriverUtil ity | |
| 30 | include OracleUtil ity | |
| 31 | include DateUtilit y | |
| 32 | include MongoUtili ty | |
| 33 | ||
| 34 | ||
| 35 | before(: all) do | |
| 36 | initia lizeConfig urations(V AR_BASE_UR L) | |
| 37 | @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver) | |
| 38 | @login = Login.n ew(@driver ) | |
| 39 | @eula = Eula.new (@driver) | |
| 40 | @commo n = Common .new(@driv er) | |
| 41 | @modal = Modal.n ew(@driver ) | |
| 42 | @new_a ppointment = NewAppo intmentReq uest.new(@ driver) | |
| 43 | @detai l = Booked Appointmen tDetail.ne w(@driver) | |
| 44 | @error = Error_V alidation. new(@drive r) | |
| 45 | @feedb ack = Feed back.new(@ driver) | |
| 46 | @landi ng_notific ations = L andingNoti fications. new(@drive r) | |
| 47 | @modal = Modal.n ew(@driver ) | |
| 48 | TITLE = "Appoint ments/Requ ests" | |
| 49 | @@pati entID ="11 13138327" | |
| 50 | @db = connectToM ongoDB("va r-utility" ) | |
| 51 | restor eCollectio n("siteSup portingVAR ", "var-ut ility", "s ites-suppo rting-var- exported2. json", @db ) | |
| 52 | restor eCollectio n("clinica l-services ", "var-ut ility", "c linical_se rvices_def ault.json" , @db) | |
| 53 | restor eCollectio n("directB ookingElig ibilityCri teria", "v ar-utility ", "direct Scheduling Enabled.js on", @db) | |
| 54 | restor eCollectio n("request Eligibilit yCriteria" , "var-uti lity", "re questEligi bilityCrit eria.json" , @db) | |
| 55 | restor eCollectio n("custom- friendly-t ext", "var -utility", "facility _friendly_ name.json" , @db) | |
| 56 | delete PatientDat a(@@patien tID) | |
| 57 | @common.lo ginEndsOnH ome( pw_reda c t e d ) | |
| 58 | @landi ng_appoint ments.appo intment_he ader_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT) | |
| 59 | ||
| 60 | end | |
| 61 | ||
| 62 | after(:a ll) do | |
| 63 | @drive r.close | |
| 64 | end | |
| 65 | ||
| 66 | context 'AC#VAR-97 49|TC#VAR- 9750: New Appointmen t/Request Form: Rout ing questi on - Step 2: Locatio n' do | |
| 67 | ||
| 68 | it 'sh ould show no locatio ns and ins tructional text' do | |
| 69 | @com mon.select AddAppoint mentButton ("VA") | |
| 70 | @new _appointme nt.selectT ypeOfCare( AUDIOLOGY) | |
| 71 | @new _appointme nt.selectS tate("636A 6") | |
| 72 | expe ct(@new_ap pointment. location_i nstruction _element.t ext).to eq "Unfortun ately, the re are no locations where you are regist ered that are offeri ng #{AUDIO LOGY} thro ugh this a pp.\nIf yo u cannot f ind the lo cation you need, ple ase visit the VA Fac ility Loca tor to con tact the f acility fo r assistan ce." | |
| 73 | end | |
| 74 | ||
| 75 | end | |
| 76 | ||
| 77 | contex t 'AC#VAR- 9960|TC#VA R-9961: Ne w Appointm ent/Reques t Form: Ro uting ques tion - Ste p 3: Metho d' do | |
| 78 | ||
| 79 | it ' should sho w that met hod Submit a Request to VA Sch eduler is not availa ble for Ve teran that has not v isited the site in p ast 12 mon ths' do | |
| 80 | @n ew_appoint ment.selec tTypeOfCar e(MENTAL_H EALTH) | |
| 81 | @n ew_appoint ment.selec tState("52 3") | |
| 82 | @n ew_appoint ment.selec tLocation( "523GC") | |
| 83 | @n ew_appoint ment.patie nt_history _limit_cle rk_element .wait_unti l_present( TIME_OUT_L IMIT) | |
| 84 | ex pect(@new_ appointmen t.patient_ history_li mit_clerk_ element.te xt).to eq "This meth od is not available because yo u have not received this type of care in the last 12 months. Please se lect anoth er method, if availa ble, or co ntact your facility for assist ance." | |
| 85 | end | |
| 86 | ||
| 87 | it ' should sho w that Sch edule Myse lf is not available for Vetera n that has not visit ed the sit e in past 24 months' do | |
| 88 | ex pect(@new_ appointmen t.patient_ history_li mit_myself _element.t ext).to eq "This met hod is not available because y ou have no t received this type of care i n the last 24 months . Please s elect anot her method , if avail able, or c ontact you r facility for assis tance." | |
| 89 | end | |
| 90 | ||
| 91 | end | |
| 92 | ||
| 93 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.