Produced by Araxis Merge on 12/7/2018 11:36:15 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\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\acceptance-tests\watir-ruby\spec\varUtil | user_menu_spec.rb | Thu Sep 13 18:55:48 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\acceptance-tests\watir-ruby\spec\varUtil | user_menu_spec.rb | Fri Dec 7 13:27:32 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 264 |
| 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 | require 'r spec' | |
| 2 | ||
| 3 | require_re lative '.. /../module /DriverUti lity' | |
| 4 | require_re lative '.. /rspec_hel per' | |
| 5 | require_re lative '.. /../pages/ varUtility /landing' | |
| 6 | require_re lative '.. /../common /accessVar Utility' | |
| 7 | require_re lative '.. /../common /common' | |
| 8 | require_re lative '.. /../pages/ vaToolSet/ home' | |
| 9 | require_re lative '.. /../pages/ vaToolSet/ userMenu' | |
| 10 | require_re lative '.. /../pages/ landing_pa ge' | |
| 11 | ||
| 12 | ||
| 13 | describe ' [Story VAR UT-8: Util ity - User Options & Logout], | |
| 14 | [Story VAR UT-9: Util ity - Abou t Page] | |
| 15 | [Story VAR UT-294]: U tility -- Launchpad Feature | |
| 16 | [Story VAR UT-353: Ut ility - Up date versi on in foot er and abo ut]' do | |
| 17 | include DriverUtil ity | |
| 18 | ||
| 19 | before(: all) do | |
| 20 | initia lizeConfig urations(B ASE_URL) | |
| 21 | @landi ng = Landi ng.new(@dr iver) | |
| 22 | @launc hpad = Lau nchpad.new (@driver) | |
| 23 | @login Util = Acc essVarUtil ity.new(@d river) | |
| 24 | @login = Login.n ew(@driver ) | |
| 25 | @commo n = Common .new(@driv er) | |
| 26 | @userM enu = User Menu.new(@ driver) | |
| 27 | @landi ng_page = LandingPag e.new(@dri ver) | |
| 28 | ||
| 29 | end | |
| 30 | ||
| 31 | after(:a ll) do | |
| 32 | @drive r.close | |
| 33 | end | |
| 34 | ||
| 35 | context 'AC#VARUT- 132|TC#VAR UT-137: Va lidate use r Menu and Logout | |
| 36 | AC#VARUT- 366|TC#VAR UT-367: Up date versi on in foot er and cri teria' do | |
| 37 | it "Lo gin" do | |
| 38 | @log inUtil.acc ess_var_ut ility(User Access7) | |
| 39 | @lan ding.right Footer_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 40 | Wati r::Wait.un til {@land ing.rightF ooter == " Logged in as PROVIDE R, SEVEN"} | |
| 41 | expe ct(@landin g.rightFoo ter).to eq ("Logged i n as PROVI DER, SEVEN ") | |
| 42 | end | |
| 43 | ||
| 44 | it "Us er Options " do | |
| 45 | @use rMenu.user Menu_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 46 | @use rMenu.user Menu_eleme nt.click | |
| 47 | @use rMenu.menu Header_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 48 | expe ct(@userMe nu.menuHea der.split( "\n")[0]). to eq("Use r Options" ) | |
| 49 | end | |
| 50 | ||
| 51 | ||
| 52 | ||
| 53 | contex t 'AC#VARU T-179|TC#V ARUT-180: Validate A bout Page | |
| 54 | AC#VARU T-366|TC#V ARUT-367: Update ver sion in fo oter and c riteria' | |
| 55 | it "Ab out Page V alidation" do | |
| 56 | expe ct(@userMe nu.about_e lement.tex t).to eq(" About") | |
| 57 | @use rMenu.abou t | |
| 58 | @use rMenu.abou tTitle_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 59 | #tod o: need to delete Po pup modal text when defect is fixed | |
| 60 | expe ct(@userMe nu.aboutTi tle_elemen t.text).to eq("Popup modal\nAb out") | |
| 61 | expe ct(@userMe nu.content _element.t ext).to eq ("VA Tool Set - v2.3 .0") | |
| 62 | expe ct(@userMe nu.content Line2_elem ent.text). to eq("The VA Tool S et provide s access t o utilitie s that all ow authori zed users to configu re and sup port featu res in oth er mobile apps.") | |
| 63 | expe ct(@userMe nu.content Line3_elem ent.text). to eq("Sel ect the ap propriate user guide for detai led tool i nstruction s.") | |
| 64 | end | |
| 65 | ||
| 66 | contex t 'AC#VARU T-228|TC#V ARUT-229: Validate U ser Guide Link' | |
| 67 | it "Us er Guide V alidation" do | |
| 68 | @use rMenu.abou tTitle_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 69 | expe ct(@userMe nu.aboutTi tle_elemen t.text).to eq("Popup modal\nAb out") | |
| 70 | @use rMenu.user GuideLinkV ARUT | |
| 71 | swit chWindowTo WindowHand leLast | |
| 72 | expect(get CurrentURL ).to eq("h ttps:// IP /va-tool-s et-web/ass ets/pdfs/v ar-utility -guide.pdf ") | |
| 73 | swit chWindowTo WindowHand leFirst | |
| 74 | @use rMenu.abou tTitle_ele ment.when_ present(TI ME_OUT_LIM IT) | |
| 75 | expe ct(@userMe nu.aboutTi tle).to eq ("Popup mo dal\nAbout ") | |
| 76 | ||
| 77 | @use rMenu.ok_e lement.whe n_visible( TIME_OUT_L IMIT) | |
| 78 | @use rMenu.ok | |
| 79 | @use rMenu.abou t_element. when_visib le(TIME_OU T_LIMIT) | |
| 80 | expe ct(@userMe nu.about_e lement.tex t).to eq(" About") | |
| 81 | ||
| 82 | end | |
| 83 | ||
| 84 | it "La unchpad -- Navigates the user to the VA Launchpad" do | |
| 85 | @use rMenu.menu Header_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 86 | expe ct(@userMe nu.menuHea der.split( "\n")[0]). to eq("Use r Options" ) | |
| 87 | @use rMenu.laun chpad_elem ent.when_v isible(TIM E_OUT_LIMI T) | |
| 88 | expe ct(@userMe nu.launchp ad_element .text).to eq("Launch pad") | |
| 89 | slee p 1 | |
| 90 | @use rMenu.laun chpad | |
| 91 | @com mon.waitWh ileSpinner Present | |
| 92 | ||
| 93 | @lau nchpad.lau nchpad_eul a_accept_e lement.whe n_visible( TIME_OUT_L IMIT) | |
| 94 | @lau nchpad.lau nchpad_eul a_accept | |
| 95 | ||
| 96 | @lau nchpad.lau nchpadTitl e_element. when_visib le(TIME_OU T_LIMIT) | |
| 97 | expe ct(@launch pad.launch padTitle). to eq("Lau nchpad") | |
| 98 | expe ct(@launch pad.footer _name).to eq("Logged in as PRO VIDER, SEV EN - BOSTO N HCS VAMC ") | |
| 99 | ||
| 100 | end | |
| 101 | ||
| 102 | it "Lo g out - re turns user to Launch pad" do | |
| 103 | @dri ver.goto(B ASE_URL) | |
| 104 | @com mon.waitWh ileSpinner Present | |
| 105 | ||
| 106 | @use rMenu.user Menu_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 107 | @use rMenu.user Menu_eleme nt.click | |
| 108 | @use rMenu.menu Header_ele ment.when_ visible(TI ME_OUT_LIM IT) | |
| 109 | expe ct(@userMe nu.menuHea der.split( "\n")[0]). to eq("Use r Options" ) | |
| 110 | ||
| 111 | @lan ding_page. login_butt on_element .wait_unti l_present( TIME_OUT_L IMIT) | |
| 112 | @lan ding_page. login_butt on | |
| 113 | @use rMenu.user Menu_eleme nt.when_vi sible(TIME _OUT_LIMIT ) | |
| 114 | @use rMenu.user Menu_eleme nt.click | |
| 115 | @lan ding_page. logout_but ton_elemen t.wait_unt il_present (TIME_OUT_ LIMIT) | |
| 116 | @lan ding_page. logout_but ton | |
| 117 | ||
| 118 | @lau nchpad.lau nchpadTitl e_element. wait_until _present(T IME_OUT_LI MIT) | |
| 119 | expe ct(@launch pad.launch padTitle). to eq("Lau nchpad") | |
| 120 | ||
| 121 | expe ct(@launch pad.footer _name).to eq("Not lo gged in") | |
| 122 | ||
| 123 | end | |
| 124 | ||
| 125 | ||
| 126 | ||
| 127 | end | |
| 128 | end | |
| 129 | ||
| 130 | ||
| 131 | ||
| 132 | ||
| 133 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.