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_Introduction_DCKDA_534_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_Introduction_DCKDA_534_spec.rb | Tue May 29 15:57:52 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 152 |
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 spec' | |
5 | require 'w atir-webdr iver' | |
6 | require 'p age-object ' | |
7 | require 's preadsheet ' | |
8 | ||
9 | require_re lative '.. /rspec_hel per' | |
10 | require_re lative '.. /../lib/pa ges/login_ page' | |
11 | require_re lative '.. /../lib/pa ges/common _elements' | |
12 | require_re lative '.. /../lib/pa ges/common _tests' | |
13 | require_re lative '.. /../lib/pa ges/left_s ide_nav' | |
14 | require_re lative '.. /../lib/pa ges/learn_ more_accor dions' | |
15 | ||
16 | describe ' Story#DCKD A-534 Lear n_More_Int roduction_ DCKDA_534_ spec.rb', :regressio n => true do | |
17 | include DriverOper ationsModu le | |
18 | ||
19 | app_titl e = "Mobil eKidney" | |
20 | ||
21 | before(: all) do | |
22 | ||
23 | initia lizeConfig urations() | |
24 | ||
25 | @commo nElements = CommonEl ement.new( @driver) | |
26 | @login page = Log inPage.new (@driver) | |
27 | @leftn av = LeftS ideNav.new (@driver) | |
28 | @commo nTest = Co mmonTest.n ew(@driver ) | |
29 | @learn More = Lea rnMoreAccd .new(@driv er) | |
30 | ||
31 | @commonTes t.passByLa ndingPageA ndAuthenti cate(" AI ", " AI ", "patien t01, zztes t", "D1234 01") | |
32 | begin | |
33 | Wati r::Wait.un til | |
34 | @com monElement s.angulart itle_eleme nt.visible ? | |
35 | rescue | |
36 | Wati r::Wait::T imeoutErro r | |
37 | unti l | |
38 | @com monElement s.angulart itle_eleme nt.visible ? | |
39 | end | |
40 | end | |
41 | ||
42 | end | |
43 | ||
44 | after(:a ll) do | |
45 | @drive r.close | |
46 | end | |
47 | ||
48 | dataShee tFilePath = File.dir name(__FIL E__) + '/. ./../datas heet/Accor dions_Test .xls' | |
49 | book = S preadsheet .open data SheetFileP ath | |
50 | data = b ook.worksh eet 'intro duction' | |
51 | ||
52 | sections = [ | |
53 | { :tit le => "Kid ney Info", :selector => ".kidn ey-info" } , | |
54 | { :tit le => "Nut rition", : selector = > ".nutrit ion" }, | |
55 | { :tit le => "Lab oratory", :selector => ".labor atory" }, | |
56 | { :tit le => "Soc ial Work S ervices", :selector => ".socia l-work-ser vices" }, | |
57 | { :tit le => "Pha rmacy", :s elector => ".pharmac y" }, | |
58 | { :tit le => "Tre atment", : selector = > ".treatm ent" } | |
59 | ] | |
60 | ||
61 | appOptio n = 'Learn More' | |
62 | ||
63 | context 'AC #DCKDA -573 | TC #DCKDA-624 -- Learn More Intro duction Co ntent' do | |
64 | sectio ns.each_wi th_index d o |section , index| | |
65 | it ' . Verify introducti on content for Learn More sect ion - ' + section[:t itle] do | |
66 | of fsetIndex = index + 1 | |
67 | ro w = data.r ow(offsetI ndex) | |
68 | ||
69 | @c ommonTest. navigateTo AsubFeatur e(appOptio n, section [:selector ]) | |
70 | ex pect(@left nav.getSub FeatureTex t(section[ :selector] , appOptio n)).to eq( section[:t itle]) | |
71 | in troElement = @learnM ore.getLea rnMoreSect ionIntro | |
72 | ex pect(intro Element.te xt).to eq( row[1]) | |
73 | end | |
74 | end | |
75 | end | |
76 | ||
77 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.