Produced by Araxis Merge on 5/29/2018 12:14:33 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\kidney-tracker | Kidney_Trackers_Feature_List_DCKDA_1139_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\kidney-tracker | Kidney_Trackers_Feature_List_DCKDA_1139_spec.rb | Tue May 29 15:48:07 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 182 |
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 | require_re lative '.. /../lib/mo dule/DBOpe rationsMod ule' | |
19 | ||
20 | describe ' Story#DCKD A-1139 Kid ney_Tracke rs_Feature _List_DCKD A_1139_spe c.rb', :re gression = > true do | |
21 | include DriverOper ationsModu le | |
22 | include DBOperatio nsModule | |
23 | ||
24 | ||
25 | before(: all) do | |
26 | ||
27 | initia lizeConfig urations() | |
28 | ||
29 | @commo nElements = CommonEl ement.new( @driver) | |
30 | @commo nTest = Co mmonTest.n ew(@driver ) | |
31 | @login page = Log inPage.new (@driver) | |
32 | @eula = Eula.new (@driver) | |
33 | @landi ng = Landi ngPage.new (@driver) | |
34 | @roa = Roa.new(@ driver) | |
35 | @right nav = Righ tSideNav.n ew(@driver ) | |
36 | @leftn av = LeftS ideNav.new (@driver) | |
37 | @lp = Launchpad. new(@drive r) | |
38 | ||
39 | @commonTes t.passByLa ndingPageA ndAuthenti cate(" AI ", " AI ", "patien t01, zztes t", "D1234 01") | |
40 | begin | |
41 | Wati r::Wait.un til | |
42 | @com monElement s.angulart itle_eleme nt.visible ? | |
43 | rescue | |
44 | Wati r::Wait::T imeoutErro r | |
45 | unti l | |
46 | @com monElement s.angulart itle_eleme nt.visible ? | |
47 | end | |
48 | end | |
49 | ||
50 | @commo nTest.wait ForContent LoadedSumm aryPage | |
51 | @leftn av.leftSid eNav | |
52 | ||
53 | @leftn av.home_el ement.when _visible | |
54 | ||
55 | @leftn av.clickAp pOptionNam e("KidneyT rackers") | |
56 | ||
57 | @commo nElements. secondaryH eader_elem ent.when_v isible(tim eout=10) | |
58 | ||
59 | end | |
60 | ||
61 | after(:a ll) do | |
62 | @drive r.close | |
63 | end | |
64 | ||
65 | context 'AC#DCKDA- 569|TC#DCK DA-567: Wh en the use r selects the Kidney Trackers feature fr om the lef t panel na vigation, the system displays the Featur e groups i n the Main Screen' d o | |
66 | it '. Verify Pag e Header d isplays co rrectly' d o | |
67 | expe ct(@common Elements.s econdaryHe ader).to e q("Kidney Trackers") | |
68 | end | |
69 | ||
70 | it '. Verify tha t features displayed have the correct na me ' do | |
71 | expe ct(@leftna v.getSubFe atureText( '.blood-pr essure-and -pulse', ' KidneyTrac kers')).to eq(["Bloo d Pressure ", "Pulse" ]) | |
72 | expe ct(@leftna v.getSubFe atureText( '.weight', 'KidneyTr ackers')). to eq("Wei ght") | |
73 | expe ct(@leftna v.getSubFe atureText( '.glucose' ,'KidneyTr ackers')). to eq("Glu cose") | |
74 | expe ct(@leftna v.getSubFe atureText( '.kidney-j ournal', ' KidneyTrac kers')).to eq("Kidne y Journal" ) | |
75 | end | |
76 | ||
77 | it '. Verify tha t feature names disp lay in the right ord er' do | |
78 | expe ct(@leftna v.isThisFe atureInThe RightPlace (1, '.bloo d-pressure -and-pulse ', ['Blood Pressure' , 'Pulse'] , 'KidneyT rackers')) .to eq(tru e) | |
79 | expe ct(@leftna v.isThisFe atureInThe RightPlace (2, '.weig ht', 'Weig ht','Kidne yTrackers' )).to eq(t rue) | |
80 | expe ct(@leftna v.isThisFe atureInThe RightPlace (3, '.gluc ose', 'Glu cose','Kid neyTracker s')).to eq (true) | |
81 | expe ct(@leftna v.isThisFe atureInThe RightPlace (4, '.kidn ey-journal ', 'Kidney Journal', 'KidneyTra ckers')).t o eq(true) | |
82 | end | |
83 | end | |
84 | ||
85 | context 'AC#DCKDA- 570|TC#DCK DA-567: 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 | |
86 | it '. Verify tha t the defa ult text d isplays co rrectly' d o | |
87 | @com monElement s.defaultT extToSelec tItem_elem ent.when_v isible(tim eout=10) | |
88 | expe ct(@common Elements.d efaultText ToSelectIt em).to eq( "Select an item from the Kidne y Trackers list to v iew detail s or add a new entry .") | |
89 | end | |
90 | end | |
91 | ||
92 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.