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\community_care | cc_landing_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\community_care | cc_landing_page_spec.rb | Wed May 29 22:08:03 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 178 |
| 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 | require_re lative '.. /rspec_hel per' | |
| 2 | require_re lative '.. /../pages/ community_ care/commu nity_Care_ PageObject ' | |
| 3 | require 'r ubygems' | |
| 4 | require 'w atir-webdr iver' | |
| 5 | require_re lative '.. /../module /DriverUti lity' | |
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | describe ' [Story VAR -9231 :Lan ding Page (unauthent icated/log in page) - Add descr iptive inf o regardin g app feat ures] | |
| 10 | [Sto ry VAR-947 3 : Learn About Comm unity Care - Modal a nd Info Te xt (Unauth enticated User)] | |
| 11 | [sto ry# VAR-14 820-CC - C C - Update Provider/ Facility L ocator URL to va.gov ] | |
| 12 | [sto ry# VAR-15 448-CC - C C - Update URL and V erbiage in Community Care text ]' do | |
| 13 | ||
| 14 | include DriverUtil ity | |
| 15 | ||
| 16 | shared_c ontext "Sh ared Test" do | |
| 17 | before (:all) do | |
| 18 | init ializeConf igurations (VAR_BASE_ URL) | |
| 19 | @cc_ po = Commu nityCare_P ageObject. new(@drive r) | |
| 20 | @cc_ po_appoint ments = La ndingAppoi ntments.ne w(@driver) | |
| 21 | @lan ding = Lan ding.new(@ driver) | |
| 22 | end | |
| 23 | ||
| 24 | after( :all) do | |
| 25 | quit Driver | |
| 26 | end | |
| 27 | ||
| 28 | end | |
| 29 | ||
| 30 | context "AC#VAR-94 90|TC#VAR- 9535: Land ing Page ( unauthenti cated/logi n page) - Add descri ptive info regarding app featu res" do | |
| 31 | includ e_context "Shared Te st" | |
| 32 | ||
| 33 | it "ve rify un-au thenticate landing p age info" do | |
| 34 | @cc_ po.landing .landing_p age_title_ element.wh en_visible (TIME_OUT_ LIMIT) | |
| 35 | expe ct(@cc_po. landing.la nding_page _title_ele ment.text) .to eq("We lcome to V A Appointm ents") | |
| 36 | expe ct(@cc_po. landing.te xt).to eq( "The VA Ap pointment app allows patients to:") | |
| 37 | actu al_content = @cc_po. landing.ap p_allows_l ist_elemen t.text.spl it("\n") | |
| 38 | expe cted_conte nt = [\ | |
| 39 | "Sch edule appo intments f or support ed types o f care dir ectly with the VA fa cility.", | |
| 40 | "Sub mit reques ts to a sc heduling c lerk for a VA facili ty appoint ment.", | |
| 41 | "Sub mit reques ts for non -VA appoin tments (Co mmunity Ca re) to a s cheduling clerk (Vet erans elig ible under the new C ommunity C are Progra m)." | |
| 42 | ] | |
| 43 | comp areContent s(expected _content, actual_con tent) | |
| 44 | end | |
| 45 | ||
| 46 | it "ve rify the L earn About CC Modal content" d o | |
| 47 | @cc_ po.landing CC.learn_c c | |
| 48 | @cc_ po.landing CC.learn_c c_text_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT) | |
| 49 | p ac tual_conte nt = (@cc_ po.landing CC.learn_c c_text_ele ment.text) .split("\n ") | |
| 50 | ||
| 51 | expe cted_conte nt = [\ | |
| 52 | "Lea rn About C ommunity C are", | |
| 53 | "The new Commu nity Care Program al lows Veter ans who ar e already enrolled i n VA Healt h Care to receive he alth care in their c ommunity, while stil l having a ccess to t heir regul ar VA Heal th Care. V A Online S cheduling enhances t he Veteran 's communi ty care ex perience b y providin g an addit ional meth od for req uesting co mmunity ca re service s.", | |
| 54 | "", | |
| 55 | "To learn more about the new C ommunity C are Progra m, visit: https:// DNS . URL /oei/missi onAct/", | |
| 56 | "To access a c urrent lis t of appro ved provid ers, visit VA Facili ty Locator and selec t Communit y Care (No n-VA Healt h) from th e \"Search For\" dro pdown menu .", | |
| 57 | "OK" | |
| 58 | ] | |
| 59 | comp areContent s(expected _content, actual_con tent) | |
| 60 | end | |
| 61 | ||
| 62 | it "Ve rify that the extern al link on Learn CC Modal is c lickable" do | |
| 63 | @cc_ po.landing CC.link_ve t_missionA ct | |
| 64 | @cc_ po.landing CC.modal_t itle_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 65 | expe ct(@cc_po. landingCC. modal_titl e_element. text).to e q("Confirm ation") | |
| 66 | expe ct(@cc_po. landingCC. modal_cont ent_elemen t.text).to eq("You a re about t o leave th e VA Appoi ntments ap p. Select CONTINUE t o proceed to the lin k informat ion select ed, or sel ect RETURN to return to the VA Appointme nts app.") | |
| 67 | slee p(4) | |
| 68 | @cc_ po.landing CC.modal_r eturn_btn | |
| 69 | end | |
| 70 | ||
| 71 | it "cl ick on mis sionAct ex ternal lin k" do | |
| 72 | @cc_ po.landing CC.link_ve t_missionA ct | |
| 73 | @cc_ po.landing CC.modal_t itle_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 74 | @cc_ po.landing CC.modal_c ontinue_bt n | |
| 75 | swit chWindowTo WindowHand leLast | |
| 76 | expect(get CurrentURL ).to eq("h ttps:// DNS . URL /oei/missi onAct/") | |
| 77 | swit chWindowTo WindowHand leFirst | |
| 78 | @lan ding.landi ng_page_ti tle_elemen t.when_vis ible(TIME_ OUT_LIMIT) | |
| 79 | expe ct(@landin g.landing_ page_title _element.t ext).to eq ("Welcome to VA Appo intments") | |
| 80 | end | |
| 81 | ||
| 82 | it "ve rify the L earn About CC Modal content" d o | |
| 83 | @cc_ po.landing CC.learn_c c_text_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT) | |
| 84 | @cc_ po.landing CC.learn_c c_ok_btn | |
| 85 | @lan ding.landi ng_page_ti tle_elemen t.when_vis ible(TIME_ OUT_LIMIT) | |
| 86 | expe ct(@landin g.landing_ page_title _element.t ext).to eq ("Welcome to VA Appo intments") | |
| 87 | expe ct(@landin g.text).to eq("The V A Appointm ent app al lows patie nts to:") | |
| 88 | end | |
| 89 | ||
| 90 | end | |
| 91 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.