Produced by Araxis Merge on 5/30/2019 1:49:21 PM Eastern Daylight 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 | var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu | about_page_spec.rb | Fri May 10 18:55:49 2019 UTC |
| 2 | var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu | about_page_spec.rb | Wed May 29 22:08:03 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 276 |
| 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 '.. /../module /DateUtili ty' | |
| 19 | require_re lative '.. /../pages/ user_menu' | |
| 20 | require_re lative '.. /../module /database/ OracleUtil ity' | |
| 21 | require_re lative '.. /../pages/ community_ care/commu nity_Care_ PageObject ' | |
| 22 | ||
| 23 | ||
| 24 | describe ' [Story# VA R-2781: Up date User Guide and Link] | |
| 25 | [Story# VA R-4079: up date front -end versi on number to 3.1.0] | |
| 26 | [Story# VA R-9428: Au tomate Ver sion Numbe r Update 4 .2.0] | |
| 27 | [Story# VA R-9561: Au tomate Ver sion Numbe r Update 4 .1.1] | |
| 28 | [Story# VA R-9710: Au tomate Ver sion Numbe r Update 4 .1.2] | |
| 29 | [Story# VA R-11483: V ersion upd ate to VAR 4.2.7] | |
| 30 | [Story# VA R-11889: V ersion upd ate to VAR 4.4.0] | |
| 31 | [Story# VA R-9890: Cr eate new R elease Bra nch] | |
| 32 | [Story# VA R-5444: On the About Page PACT expand sh ould "Pati ent Aligne d Care Tea m] | |
| 33 | [Story# VA R-15757: U pdate Auto mation tes t script f or About M odal]' do | |
| 34 | include DriverUtil ity | |
| 35 | include OracleUtil ity | |
| 36 | ||
| 37 | ||
| 38 | before(: all) do | |
| 39 | initia lizeConfig urations(V AR_BASE_UR L) | |
| 40 | @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver) | |
| 41 | @landi ng = Landi ng.new(@dr iver) | |
| 42 | @login = Login.n ew(@driver ) | |
| 43 | @commo n = Common .new(@driv er) | |
| 44 | @eula = Eula.new (@driver) | |
| 45 | @user_ menu = Use rMenuOptio n.new(@dri ver) | |
| 46 | @cc_po = Communi tyCare_Pag eObject.ne w(@driver) | |
| 47 | @modal = Modal.n ew(@driver ) | |
| 48 | APPOIN TMENTS = " Appointmen ts/Request s" | |
| 49 | ||
| 50 | end | |
| 51 | ||
| 52 | after(:a ll) do | |
| 53 | @drive r.close | |
| 54 | end | |
| 55 | ||
| 56 | context '[AC#VAR-2 885|TC#VAR -2932: Upd ate User g uide and L ink] | |
| 57 | [AC#VAR-4 148|TC#VAR -4149: Val idate app version] | |
| 58 | [AC#VAR-5 151|TC#VAR -5152: Val idate Auto mate Versi on Number Update]'do | |
| 59 | it "Se ction/tabl e title: A ppointment s " do | |
| 60 | @com mon.loginE ndsOnHome( MockUser01 ) | |
| 61 | @lan ding.foote rUserInfo_ element.wh en_visible (TIME_OUT_ LIMIT) | |
| 62 | @lan ding_appoi ntments.pr imary_head er_element .when_visi ble(TIME_O UT_LIMIT) | |
| 63 | expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS) | |
| 64 | end | |
| 65 | ||
| 66 | it "Ve rify Foote r version number" do | |
| 67 | Wati r::Wait.un til {@land ing.footer UserInfo = = "Logged in as user Last01, us erFirst01" } | |
| 68 | expe ct(@landin g.appVersi on).to eq( "VA Appoin tments - v 4.18.0") | |
| 69 | expe ct(@landin g.footerUs erInfo).to eq("Logge d in as us erLast01, userFirst0 1") | |
| 70 | end | |
| 71 | ||
| 72 | it "Ab out page c ontent and version u pdate" do | |
| 73 | @u ser_menu.u serMenu_el ement.when _visible(T IME_OUT_LI MIT) | |
| 74 | bu tton_eleme nt = @driv er.button( :id => 'us er-menu-bt n') | |
| 75 | ex ecute_scri pt("$(argu ments[0]). click();", button_ele ment) | |
| 76 | @u ser_menu.a bout_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 77 | bu tton_eleme nt = @driv er.button( :id => 'ab out-btn') | |
| 78 | ex ecute_scri pt("$(argu ments[0]). click();", button_ele ment) | |
| 79 | @c ommon.wait WhileSpinn erPresent | |
| 80 | @u ser_menu.a boutTitle_ element.wh en_present (TIME_OUT_ LIMIT) | |
| 81 | ex pect(@user _menu.abou tTitle).to eq('About ') | |
| 82 | ||
| 83 | ex pect(@user _menu.appV ersion).to eq('Veter an Appoint ment Reque sts v4.18. 0') | |
| 84 | ex pect(@user _menu.cont entLine1). to eq('The app allow s Veterans to:') | |
| 85 | ex pect(@user _menu.cont entLine2). to eq('Vie w, request , schedule , or cance l an appoi ntment at a VA facil ity') | |
| 86 | ex pect(@user _menu.cont entLine3). to eq('Joi n a video appointmen t') | |
| 87 | ex pect(@user _menu.cont entLine4). to eq('Req uest appoi ntments wi th a commu nity care provider*' ) | |
| 88 | ex pect(@user _menu.cont entLine5). to eq('*So me restric tions rela ted to vet eran eligi bility and access th rough this app apply . See lear n about co mmunity ca re for mor e informat ion on Com munity Car e.') | |
| 89 | ||
| 90 | end | |
| 91 | ||
| 92 | it "v erify the Learn Abou t CC Modal content" do | |
| 93 | @cc_p o.landingC C.learn_cc | |
| 94 | @cc_po .landingCC .learn_cc_ text_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT) | |
| 95 | p act ual_conten t = (@cc_p o.landingC C.learn_cc _text_elem ent.text). split("\n" ) | |
| 96 | ||
| 97 | ex pected_con tent = [\ | |
| 98 | "Learn About Com munity Car e", | |
| 99 | "The n ew Communi ty Care Pr ogram allo ws Veteran s who are already en rolled in VA Health Care to re ceive heal th care in their com munity, wh ile still having acc ess to the ir regular VA Health Care. VA Online Sch eduling en hances the Veteran's community care expe rience by providing an additio nal method for reque sting comm unity care services. ", | |
| 100 | "", | |
| 101 | "To learn more about the new C ommunity C are Progra m, visit: https:// DNS . URL /oei/missi onAct/", | |
| 102 | "To a ccess a cu rrent list of approv ed provide rs, visit VA Facilit y Locator and select Community Care (Non -VA Health ) from the \"Search For\" drop down menu. ", | |
| 103 | "OK" | |
| 104 | ] | |
| 105 | co mpareConte nts(expect ed_content , actual_c ontent) | |
| 106 | end | |
| 107 | ||
| 108 | it "Cl ick on mis sionAct ex ternal lin k" do | |
| 109 | @cc_ po.landing CC.link_ve t_missionA ct | |
| 110 | @cc_ po.landing CC.modal_t itle_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 111 | @cc_ po.landing CC.modal_c ontinue_bt n | |
| 112 | swit chWindowTo WindowHand leLast | |
| 113 | expect(get CurrentURL ).to eq("h ttps:// DNS . URL /oei/missi onAct/") | |
| 114 | swit chWindowTo WindowHand leFirst | |
| 115 | end | |
| 116 | ||
| 117 | it " Click on l earn_cc_ok _btn" do | |
| 118 | @c c_po.landi ngCC.learn _cc_ok_btn | |
| 119 | @u ser_menu.a boutTitle_ element.wh en_present (TIME_OUT_ LIMIT) | |
| 120 | exp ect(@user_ menu.about Title).to eq('About' ) | |
| 121 | ||
| 122 | end | |
| 123 | ||
| 124 | it "Cl ick ok to about page " do | |
| 125 | @u ser_menu.o k | |
| 126 | @l anding_app ointments. primary_he ader_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 127 | ex pect(@land ing_appoin tments.pri mary_heade r).to eq(A PPOINTMENT S) | |
| 128 | end | |
| 129 | ||
| 130 | end | |
| 131 | end | |
| 132 | ||
| 133 | ||
| 134 | ||
| 135 | ||
| 136 | ||
| 137 | ||
| 138 | ||
| 139 | ||
| 140 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.