28. EPMO Open Source Coordination Office Redaction File Detail Report

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.

28.1 Files compared

# Location File Last Modified
1 mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec\kidney-tracker Dashboard_And_Phone_View_Carousel_DCKDA_452_539_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 Dashboard_And_Phone_View_Carousel_DCKDA_452_539_spec.rb Tue May 29 15:44:49 2018 UTC

28.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 300
Changed 1 4
Inserted 0 0
Removed 0 0

28.3 Comparison options

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

28.4 Active regular expressions

No regular expressions were active.

28.5 Comparison detail

  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/left_s ide_nav'
  10   require_re lative '.. /../lib/pa ges/common _elements'
  11   require_re lative '.. /../lib/pa ges/common _tests'
  12   require_re lative '.. /../lib/pa ges/landin g_page'
  13   require_re lative '.. /../lib/mo dule/Mongo Operations Module'
  14   require_re lative '.. /../lib/mo dule/FHIRO perationsM odule'
  15  
  16   describe ' Story#Dash board_And_ Phone_View _Carousel_ DCKDA_452_ 539_spec.r b', :regre ssion => t rue do
  17     include  DriverOper ationsModu le
  18     include  MongoOpera tionsModul e
  19     include  FHIROperat ionsModule
  20  
  21     before(: all) do
  22       $patie ntId = "PA TID12"
  23       $first Name = "zz test"
  24       $lastN ame = "pat ient13"
  25         $userName  = " AI "
  26         $password  = " AI "
  27  
  28       initia lizeConfig urations()
  29       resetC ollection( "chemlabs" , "medical historydb" , "mongoDB Data/gluco se/chemlab s.bson")
  30       remove BPEntries( $patientId , $firstNa me, $lastN ame)
  31       remove WeightEntr ies($patie ntId, $fir stName, $l astName)
  32       remove GlucoseEnt ries($pati entId, $fi rstName, $ lastName)
  33  
  34       addBPE ntries([{  :systolic  => 90, :di astolic =>  60, :puls e => 65, : position = > "Sitting ", :effect iveDateTim e => "2016 -06-12T00: 00:00-04:0 0" }], $pa tientId, $ firstName,  $lastName )
  35       addWei ghtEntries ([{ :value  => 196, : effectiveD ateTime =>  "2016-10- 16T00:00:0 0-04:00"}] , $patient Id, $first Name, $las tName)
  36       addGlu coseEntrie s([{ :valu e => 180,  :testMetho d => 'Afte r Meal', : effectiveD ateTime =>  '2016-10- 16T17:30:0 0-04:00',  :comments  => "This i s a commen t" }], $pa tientId, $ firstName,  $lastName )
  37  
  38       @commo nElements  = CommonEl ement.new( @driver)
  39       @commo nTest = Co mmonTest.n ew(@driver )
  40       @landi ng = Landi ngPage.new (@driver)
  41  
  42       @commo nTest.pass ByLandingP ageAndAuth enticate($ userName,  $password,  "#{$lastN ame}, #{$f irstName}" , $patient Id)
  43  
  44       begin
  45         Wati r::Wait.un til
  46         @com monElement s.angulart itle_eleme nt.visible ?
  47       rescue
  48         Wati r::Wait::T imeoutErro r
  49         unti l
  50         @com monElement s.angulart itle_eleme nt.visible ?
  51         end
  52       end
  53  
  54       @commo nTest.wait ForContent LoadedSumm aryPage
  55       @commo nElements. contentLoa ded_elemen t.when_pre sent(timeo ut=15)
  56  
  57       $today Long = get DateNthDay sAgo(0, "% B %d, %Y")
  58       $today Short = ge tDateNthDa ysAgo(0, " %m/%d/%y")
  59       $yeste rdayShort  = getDateN thDaysAgo( 1, "%m/%d/ %y")
  60  
  61     end
  62  
  63     after(:a ll) do
  64       @drive r.close
  65     end
  66  
  67     context  'AC#DCKDA- 1180,1454| TC#DCKDA-6 49:   Welc ome user t o Homepage  for Mobil eKidney an d Summary  Section Ti tle' do
  68       it '.  Verify the  page head er display ed correct ly' do
  69  
  70         begi n
  71           Wa tir::Wait. until
  72           @l anding.bus ySpinner_e lement.whe n_not_visi ble
  73         resc ue
  74           Wa tir::Wait: :TimeoutEr ror
  75           un til
  76           @l anding.bus ySpinner_e lement.whe n_not_visi ble
  77           en d
  78         end
  79  
  80         expe ct(@common Elements.a ngulartitl e).to eq(" MobileKidn ey")
  81       end
  82  
  83       it '.  Verify tha t the Titl e has this  text: Wel come <user  first nam e> <user l ast name>'  do
  84         expe ct(@landin g.welcomeT extAuth).t o eq("Welc ome #{$fir stName} #{ $lastName} ")
  85       end
  86  
  87       it '.  Verify tha t the curr ent date d isplays co rrectly an d in the r ight forma t' do
  88         expe ct(@landin g.systemDa teAuth).to  eq($today Long)
  89       end
  90  
  91       it '.  Verify a h orizontal  line displ ays' do
  92         expe ct(@landin g.horizont alLine?).t o eq(true)
  93       end
  94  
  95       it '.  Verify the  Summary s ection has  the title  Summary'  do
  96         expe ct(@landin g.summaryT ext).to eq ("Summary" )
  97       end
  98     end
  99  
  100     context  'AC#DCKDA- 650|TC#DCK DA-1194:   Blood Pres sure Track er Summary ' do
  101       it '.  Verify tha t Blood Pr essure Sum mary displ ays the co rrect Titl e, Reading  and Last  updated da te' do
  102         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(2)[ 0]).to eq( "Blood Pre ssure")
  103         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(2)[ 1]).to eq( "90/60 mmH g")
  104         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(2)[ 2]).to eq( "Last upda ted: 06/12 /16")
  105       end
  106  
  107       it ' .  Verify th at health  blood pres sure icon  is on the  page' do
  108         expe ct(@landin g.hasHealt hBloodPres sureIcon() )
  109       end
  110     end
  111  
  112     context  'AC#DCKDA- 651|TC#DCK DA-1194:   Weight Tra cker Summa ry' do
  113       it '.  Verify tha t Weight S ummary dis plays the  correct Ti tle, Readi ng and Las t updated  date' do
  114         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(3)[ 0]).to eq( "Weight")
  115         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(3)[ 1]).to eq( "196 lbs")
  116         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(3)[ 2]).to eq( "Last upda ted: 10/16 /16")
  117       end
  118  
  119       it ' .  Verify th at health  weight ico n is on th e page' do
  120         expe ct(@landin g.hasHealt hWeightIco n())
  121       end
  122     end
  123  
  124     context  'AC#DCKDA- 652|TC#DCK DA-1194: G lucose Tra cker Summa ry' do
  125       it '.  Verify tha t Glucose  Summary di splays the  correct T itle, Read ing and La st updated  date' do
  126         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(4)[ 0]).to eq( "Glucose")
  127         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(4)[ 1]).to eq( "180 mg/dl ")
  128         expe ct(@landin g.retrieve SummaryVal uesFromDas hboard(4)[ 2]).to eq( "Last upda ted: 10/16 /16")
  129       end
  130  
  131       it ' .  Verify th at health  glucose ic on is on t he page' d o
  132         expe ct(@landin g.hasHealt hGlucoseIc on())
  133       end
  134     end
  135  
  136     context  'AC#DCKDA- 653|TC#DCK DA-1194: D isclaimer  for Kidney  Trackers  Summary' d o
  137       it '.  Verify the  disclaime r has the  correct te xts.' do
  138         expe ct(@landin g.disclaim erSec1).to  eq("Infor mation ent ered may n ot be revi ewed by yo ur provide r but can  be shared  at your ne xt appoint ment. For  immediate  medical ne eds, conta ct your pr ovider.")
  139         expe ct(@landin g.disclaim erSec2).to  eq("Use t he menu bu ttons on t he top lef t or right  to explor e the app. ")
  140       end
  141     end
  142  
  143     context  'AC#DCKDA- 619,620,62 1|TC#DCKAD -457: Phon e user - S tatus Imag e Navigati on' do
  144       it '.  Verify tha t in Phone  form fact or, the ca rousel vie w is prese nt and fun ctional ac cording to  the ACs'  do
  145         resi zeWindowTo (320, 480)
  146         slee p 1
  147         @lan ding.nextS creenBttn_ element.wh en_visible (timeout=1 0)
  148         expe ct(@landin g.verifyTh eCorrectSu mmaryBoxDi splaysWhen ClickingNe xt()).to e q(3)
  149       end
  150     end
  151  
  152   end