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.
| # | 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 | about_page_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 | about_page_spec.rb | Fri Dec 7 13:26:02 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 202 |
| 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/ app_option s_menu' | |
| 16 | require_re lative '.. /../pages/ landing_ap pointments ' | |
| 17 | require_re lative '.. /../module /database/ OracleUtil ity' | |
| 18 | require_re lative '.. /../module /DateUtili ty' | |
| 19 | require_re lative '.. /../pages/ user_menu' | |
| 20 | require_re lative '.. /../module /database/ OracleUtil ity' | |
| 21 | ||
| 22 | ||
| 23 | describe ' [Story# VA R-2781: Up date User Guide and Link] | |
| 24 | [Story# VA R-4079: up date front -end versi on number to 3.1.0] | |
| 25 | [Story# VA R-9428: Au tomate Ver sion Numbe r Update 4 .2.0] | |
| 26 | [Story# VA R-9561: Au tomate Ver sion Numbe r Update 4 .1.1] | |
| 27 | [Story# VA R-9710: Au tomate Ver sion Numbe r Update 4 .1.2] | |
| 28 | [Story# VA R-11483: V ersion upd ate to VAR 4.2.7] | |
| 29 | [Story# VA R-11889: V ersion upd ate to VAR 4.4.0] | |
| 30 | [Story# VA R-9890: Cr eate new R elease Bra nch] | |
| 31 | [Story# VA R-5444: On the About Page PACT expand sh ould "Pati ent Aligne d Care Tea m]' do | |
| 32 | include DriverUtil ity | |
| 33 | include OracleUtil ity | |
| 34 | ||
| 35 | ||
| 36 | before(: all) do | |
| 37 | initia lizeConfig urations(V AR_BASE_UR L) | |
| 38 | @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver) | |
| 39 | @landi ng = Landi ng.new(@dr iver) | |
| 40 | @login = Login.n ew(@driver ) | |
| 41 | @commo n = Common .new(@driv er) | |
| 42 | @eula = Eula.new (@driver) | |
| 43 | @user_ menu = Use rMenuOptio n.new(@dri ver) | |
| 44 | @modal = Modal.n ew(@driver ) | |
| 45 | APPOIN TMENTS = " Appointmen ts/Request s" | |
| 46 | ||
| 47 | end | |
| 48 | ||
| 49 | after(:a ll) do | |
| 50 | @drive r.close | |
| 51 | end | |
| 52 | ||
| 53 | context '[AC#VAR-2 885|TC#VAR -2932: Upd ate User g uide and L ink] | |
| 54 | [AC#VAR-4 148|TC#VAR -4149: Val idate app version] | |
| 55 | [AC#VAR-5 151|TC#VAR -5152: Val idate Auto mate Versi on Number Update]'do | |
| 56 | it "Se ction/tabl e title: A ppointment s " do | |
| 57 | @common.lo ginEndsOnH ome( pw_reda c t e d ) | |
| 58 | @lan ding.foote rUserInfo_ element.wh en_visible (TIME_OUT_ LIMIT) | |
| 59 | @lan ding_appoi ntments.pr imary_head er_element .when_visi ble(TIME_O UT_LIMIT) | |
| 60 | expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS) | |
| 61 | end | |
| 62 | ||
| 63 | it "Ve rify Foote r version number" do | |
| 64 | Wati r::Wait.un til {@land ing.footer UserInfo = = "Logged in as user Last01, us erFirst01" } | |
| 65 | expe ct(@landin g.appVersi on).to eq( "VA Appoin tments - v 4.10.0") | |
| 66 | expe ct(@landin g.footerUs erInfo).to eq("Logge d in as us erLast01, userFirst0 1") | |
| 67 | end | |
| 68 | ||
| 69 | it "Ab out page c ontent and version u pdate" do | |
| 70 | @u ser_menu.u serMenu_el ement.when _visible(T IME_OUT_LI MIT) | |
| 71 | bu tton_eleme nt = @driv er.button( :id => 'us er-menu-bt n') | |
| 72 | ex ecute_scri pt("$(argu ments[0]). click();", button_ele ment) | |
| 73 | @u ser_menu.a bout_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 74 | bu tton_eleme nt = @driv er.button( :id => 'ab out-btn') | |
| 75 | ex ecute_scri pt("$(argu ments[0]). click();", button_ele ment) | |
| 76 | @c ommon.wait WhileSpinn erPresent | |
| 77 | @u ser_menu.a boutTitle_ element.wh en_present (TIME_OUT_ LIMIT) | |
| 78 | ex pect(@user _menu.abou tTitle).to eq('About ') | |
| 79 | ex pect(@user _menu.appV ersion).to eq('Veter an Appoint ment Reque sts v4.10. 0') | |
| 80 | ex pect(@user _menu.cont entLine1). to eq('The app is in tended to allow Vete rans to') | |
| 81 | ex pect(@user _menu.cont entLine2). to eq('Dir ectly sche dule Prima ry Care ap pointments in facili ties where a Veteran has a Pat ient Align ed Care Te am (PACT)' ) | |
| 82 | ex pect(@user _menu.cont entLine3). to eq('Req uest Prima ry Care an d Mental H ealth appo intments') | |
| 83 | ex pect(@user _menu.cont entLine4). to eq('Vie w or Cance l Booked A ppointment s') | |
| 84 | end | |
| 85 | ||
| 86 | it "Cl ick ok to about page " do | |
| 87 | @u ser_menu.o k | |
| 88 | @l anding_app ointments. primary_he ader_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 89 | ex pect(@land ing_appoin tments.pri mary_heade r).to eq(A PPOINTMENT S) | |
| 90 | end | |
| 91 | ||
| 92 | end | |
| 93 | end | |
| 94 | ||
| 95 | ||
| 96 | ||
| 97 | ||
| 98 | ||
| 99 | ||
| 100 | ||
| 101 | ||
| 102 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.