Produced by Araxis Merge on 5/10/2018 8:40:53 AM Central 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 | MHED_APPS_CIF.zip\VAR v4.2.7\var-web-4.2.7@0810ae549c1.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu | help_spec.rb | Mon Apr 9 06:06:53 2018 UTC |
2 | MHED_APPS_CIF.zip\VAR v4.2.7\var-web-4.2.7@0810ae549c1.zip\veteran-appointment-requests\test\watir-ruby\spec\user-menu | help_spec.rb | Thu May 3 13:47:30 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 202 |
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/ landing_ap pointments ' | |
16 | require_re lative '.. /../pages/ user_menu' | |
17 | require_re lative '.. /../helper /modal' | |
18 | ||
19 | ||
20 | describe ' [Story# VA R-4406: St andardize Help Conte nt]' do | |
21 | include DriverUtil ity | |
22 | ||
23 | before(: all) do | |
24 | initia lizeConfig urations(B ASE_URL) | |
25 | @landi ng_appoint ments = La ndingAppoi ntments.ne w(@driver) | |
26 | @landi ng = Landi ng.new(@dr iver) | |
27 | @login = Login.n ew(@driver ) | |
28 | @commo n = Common .new(@driv er) | |
29 | @eula = Eula.new (@driver) | |
30 | @user_ menu = Use rMenuOptio n.new(@dri ver) | |
31 | @modal = Modal.n ew(@driver ) | |
32 | APPOIN TMENTS = " Appointmen ts/Request s" | |
33 | ||
34 | end | |
35 | ||
36 | after(:a ll) do | |
37 | @drive r.close | |
38 | end | |
39 | ||
40 | context 'AC#VAR-54 27|TC#vAR- 5428: Vali date Help Content' d o | |
41 | it "Lo gin to VAR " do | |
42 | @com mon.loginE ndsOnHome( MockUser01 ) | |
43 | @lan ding.foote rUserInfo_ element.wh en_visible (TIME_OUT_ LIMIT) | |
44 | ||
45 | @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT) | |
46 | expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS) | |
47 | ||
48 | end | |
49 | ||
50 | it "He lp option added in U ser Menu" do | |
51 | @use r_menu.use rMenu_elem ent.when_v isible(TIM E_OUT_LIMI T) | |
52 | #@us er_menu.us erMenu | |
53 | butt on_element = @driver .button(:i d => 'user -menu-btn' ) | |
54 | exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt) | |
55 | ||
56 | @use r_menu.hel p_element. when_visib le(TIME_OU T_LIMIT) | |
57 | expe ct( @user_ menu.help_ element.te xt).to eq( "Help") | |
58 | ||
59 | #@us er_menu.he lp | |
60 | butt on_element = @driver .button(:i d => 'help -btn') | |
61 | exec ute_script ("$(argume nts[0]).cl ick();",bu tton_eleme nt) | |
62 | ||
63 | @com mon.waitWh ileSpinner Present | |
64 | ||
65 | @mod al.modalDi alog_eleme nt.when_pr esent(TIME _OUT_LIMIT ) | |
66 | @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT) | |
67 | expe ct(@modal. modalTitle ).to eq("H elp") | |
68 | ||
69 | expect(@mo dal.conten t).to eq(" Help Desk (toll free ): (877) 4 70-5947 We ekdays 7 a .m. - 7 p. m. (CT)\nI f you need assistanc e with the VA Appoin tments App , dial 1-8 77-470-594 7 to speak with a He lp Desk Re presentati ve. The He lp Desk is open Mond ay - Frida y from 7 a .m. to 7 p .m. CST. F or TTY ass istance, d ial 711. I f you have questions about you r DS Logon account, visit mobi le. DNS /dslogon o r dial 1-8 00-983-093 7 for assi stance. Mo bile App T raining: P lease visi t mobile. DNS /appstore, and searc h for the VA Appoint ment App t o access t raining ma terials.\n Emergencie s\nIf you feel that your infor mation may have been compromis ed, contac t your loc al VA faci lity to ob tain the c ontact inf ormation f or your Pr ivacy Offi cer. To id entify you r local VA facility, visit VA’ s Facility Locator, or by copy ing and pa sting the following link into your brows er: https: //www. DNS /directory /guide/div ision.asp? dnum=1. No te that yo u should n ever use t his app in an emerge ncy situat ion. If yo u encounte r an emerg ency, call your loca l medical center or dial 911. Veterans C risis Line : 1-800-27 3-8255 Pre ss 1.\nUse r Guide") | |
70 | ||
71 | expect(@us er_menu.ap pStoreLink _element.t ext).to eq ("mobile. DNS /appstore" ) | |
72 | expe ct(@user_m enu.facili tyLocatorL ink_elemen t.text).to eq("VA’s Facility L ocator") | |
73 | expe ct(@user_m enu.userGu ideLink_el ement.text ).to eq("U ser Guide" ) | |
74 | ||
75 | #cli ck the Use r Guide li nk | |
76 | @use r_menu.use rGuideLink | |
77 | ||
78 | swit chWindowTo WindowHand leLast | |
79 | expe ct(getCurr entURL).to include(" app/module s/user-gui de/Veteran _Appointme nt_Request _UG.pdf") | |
80 | swit chWindowTo WindowHand leFirst | |
81 | ||
82 | @mod al.modalTi tle_elemen t.when_pre sent(TIME_ OUT_LIMIT) | |
83 | expe ct(@modal. modalTitle ).to eq("H elp") | |
84 | ||
85 | expe ct(@modal. buttons_el ements[0]. text).to e q("OK") | |
86 | @mod al.buttons _elements[ 0].click | |
87 | ||
88 | @lan ding_appoi ntments.pr imary_head er_element .when_pres ent(TIME_O UT_LIMIT) | |
89 | expe ct(@landin g_appointm ents.prima ry_header) .to eq(APP OINTMENTS) | |
90 | ||
91 | end | |
92 | ||
93 | end | |
94 | end | |
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.