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.
| # | 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 | expand_collapse_accordion_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 | expand_collapse_accordion_spec.rb | Fri Dec 7 13:25:52 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 172 |
| Changed | 2 | 4 |
| 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/ 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-12201: E xpand/coll apse Accor dion link associated with Date /Time gene rates Conf irmation w arning Mod al]' 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 | ||
| 51 | end | |
| 52 | ||
| 53 | after(:a ll) do | |
| 54 | @drive r.close | |
| 55 | end | |
| 56 | ||
| 57 | context '[AC#VAR-1 2201|TC#VA R-: Valida te expand collapse a ccordion]' do | |
| 58 | ||
| 59 | it "Ve rify date element ca n be colla psed" do | |
| 60 | @common.lo ginEndsOnH ome( pw_reda c t e d ) | |
| 61 | @com mon.select AddAppoint mentButton ("VA") | |
| 62 | @new _appointme nt.selectN ewAppointm entAndSche dule(PRIMA RY_CARE, " 523", "523 ", "direct ") | |
| 63 | @new _appointme nt.selectC linic("32" ) | |
| 64 | @new _appointme nt.provide ReasonForA ppointment ("This is new switch ed clinic" ) | |
| 65 | @new _appointme nt.selectP referedDat e(@sevenDa ysFromNow, @@timeSlo t) | |
| 66 | @@se tDate = Ne wAppointme ntRequest. bookedDate | |
| 67 | @new _appointme nt.show_av ailability | |
| 68 | expe ct(@new_ap pointment. getDateEle ment(@@set Date).text ).to inclu de("select to collap se content ") | |
| 69 | ||
| 70 | end | |
| 71 | ||
| 72 | it "Ve rify colla psing the accordion does not l oad confir mation pop up" do | |
| 73 | @new _appointme nt.collaps e_slots | |
| 74 | @com mon.waitWh ileSpinner Present | |
| 75 | expe ct(@new_ap pointment. getDateEle ment(@@set Date).text ).to inclu de("select to expand content") | |
| 76 | ||
| 77 | end | |
| 78 | end | |
| 79 | end | |
| 80 | ||
| 81 | ||
| 82 | ||
| 83 | ||
| 84 | ||
| 85 | ||
| 86 | ||
| 87 | ||
| 88 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.