Produced by Araxis Merge on 5/29/2018 12:14:34 PM 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 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec\learn-more | Learn_More_Feature_List_DCKDA_516_spec.rb | Wed Apr 4 20:16:46 2018 UTC |
| 2 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec\learn-more | Learn_More_Feature_List_DCKDA_516_spec.rb | Tue May 29 15:56:48 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 174 |
| 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 | ||
| 4 | require 'r ubygems' | |
| 5 | require 'r spec' | |
| 6 | require 'w atir-webdr iver' | |
| 7 | ||
| 8 | require_re lative '.. /rspec_hel per' | |
| 9 | require_re lative '.. /../lib/pa ges/login_ page' | |
| 10 | require_re lative '.. /../lib/pa ges/eula' | |
| 11 | require_re lative '.. /../lib/pa ges/landin g_page' | |
| 12 | require_re lative '.. /../lib/pa ges/roa' | |
| 13 | require_re lative '.. /../lib/pa ges/right_ side_nav' | |
| 14 | require_re lative '.. /../lib/pa ges/left_s ide_nav' | |
| 15 | require_re lative '.. /../lib/pa ges/launch pad' | |
| 16 | require_re lative '.. /../lib/pa ges/common _elements' | |
| 17 | require_re lative '.. /../lib/pa ges/common _tests' | |
| 18 | ||
| 19 | describe ' Story#DCKD A-516 Lear n_More_Fea ture_List_ DCKDA_516_ spec.rb', :regressio n => true do | |
| 20 | include DriverOper ationsModu le | |
| 21 | ||
| 22 | before(: all) do | |
| 23 | ||
| 24 | initia lizeConfig urations() | |
| 25 | ||
| 26 | @commo nElements = CommonEl ement.new( @driver) | |
| 27 | @commo nTest = Co mmonTest.n ew(@driver ) | |
| 28 | @login page = Log inPage.new (@driver) | |
| 29 | @eula = Eula.new (@driver) | |
| 30 | @landi ng = Landi ngPage.new (@driver) | |
| 31 | @roa = Roa.new(@ driver) | |
| 32 | @right nav = Righ tSideNav.n ew(@driver ) | |
| 33 | @leftn av = LeftS ideNav.new (@driver) | |
| 34 | @lp = Launchpad. new(@drive r) | |
| 35 | ||
| 36 | @commonTes t.passByLa ndingPageA ndAuthenti cate(" AI ", " AI ", "patien t01, zztes t", "D1234 01") | |
| 37 | begin | |
| 38 | Wati r::Wait.un til | |
| 39 | @com monElement s.angulart itle_eleme nt.visible ? | |
| 40 | rescue | |
| 41 | Wati r::Wait::T imeoutErro r | |
| 42 | unti l | |
| 43 | @com monElement s.angulart itle_eleme nt.visible ? | |
| 44 | end | |
| 45 | end | |
| 46 | ||
| 47 | @commo nTest.wait ForContent LoadedSumm aryPage | |
| 48 | @leftn av.leftSid eNav | |
| 49 | @leftn av.home_el ement.when _visible | |
| 50 | @leftn av.clickAp pOptionNam e("LearnMo re") | |
| 51 | @commo nElements. secondaryH eader_elem ent.when_v isible(tim eout=10) | |
| 52 | end | |
| 53 | ||
| 54 | after(:a ll) do | |
| 55 | @drive r.close | |
| 56 | end | |
| 57 | ||
| 58 | context 'AC#DCKDA- 568|TC#DCK DA-566: Wh en the use r selects the Learn More featu re from th e left pan el navigat ion, the s ystem disp lays the F eature gro ups in the Main Scre en' do | |
| 59 | it '. Verify Pag e Header d isplays co rrectly' d o | |
| 60 | expe ct(@common Elements.s econdaryHe ader).to e q("Learn M ore") | |
| 61 | end | |
| 62 | ||
| 63 | it '. Verify tha t features displayed have the correct na me ' do | |
| 64 | expe ct(@leftna v.getSubFe atureText( '.kidney-i nfo', "Lea rnMore")). to eq("Kid ney Info") | |
| 65 | expe ct(@leftna v.getSubFe atureText( '.nutritio n', "Learn More")).to eq("Nutri tion") | |
| 66 | expe ct(@leftna v.getSubFe atureText( '.laborato ry', "Lear nMore")).t o eq("Labo ratory") | |
| 67 | expe ct(@leftna v.getSubFe atureText( '.social-w ork-servic es', "Lear nMore")).t o eq("Soci al Work Se rvices") | |
| 68 | expe ct(@leftna v.getSubFe atureText( '.pharmacy ', "LearnM ore")).to eq("Pharma cy") | |
| 69 | expe ct(@leftna v.getSubFe atureText( '.treatmen t', "Learn More")).to eq("Treat ment") | |
| 70 | end | |
| 71 | ||
| 72 | it '. Verify tha t feature names disp lay in the right ord er' do | |
| 73 | expe ct(@leftna v.isThisFe atureInThe RightPlace (1, '.kidn ey-info', 'Kidney In fo',"Learn More")).to eq(true) | |
| 74 | expe ct(@leftna v.isThisFe atureInThe RightPlace (2, '.nutr ition', 'N utrition', "LearnMor e")).to eq (true) | |
| 75 | expe ct(@leftna v.isThisFe atureInThe RightPlace (3, '.labo ratory', ' Laboratory ', "LearnM ore")).to eq(true) | |
| 76 | expe ct(@leftna v.isThisFe atureInThe RightPlace (4, '.soci al-work-se rvices', ' Social Wor k Services ', "LearnM ore")).to eq(true) | |
| 77 | expe ct(@leftna v.isThisFe atureInThe RightPlace (5, '.phar macy', 'Ph armacy', " LearnMore" )).to eq(t rue) | |
| 78 | expe ct(@leftna v.isThisFe atureInThe RightPlace (6, '.trea tment', 'T reatment', "LearnMor e")).to eq (true) | |
| 79 | end | |
| 80 | end | |
| 81 | ||
| 82 | context 'AC#DCKDA- 568|TC#DCK DA-566: I n the tabl et and des ktop view the follow ing instru ctional te xt is disp layed in t he Detail screen. De fault text displays when no it em is sele cted' do | |
| 83 | it '. Verify tha t the defa ult text d isplays co rrectly' d o | |
| 84 | expe ct(@common Elements.d efaultText ToSelectIt em).to eq( "Select an item from the Learn More list to view d etails.") | |
| 85 | end | |
| 86 | end | |
| 87 | ||
| 88 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.