83. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/29/2018 12:14:36 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.

83.1 Files compared

# Location File Last Modified
1 mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec\learn-more Treatment_Learn_More_Content_DCKDA_939_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 Treatment_Learn_More_Content_DCKDA_939_spec.rb Tue May 29 16:04:05 2018 UTC

83.2 Comparison summary

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

83.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

83.4 Active regular expressions

No regular expressions were active.

83.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   require 'p age-object '
  8   require 's preadsheet '
  9  
  10   require_re lative '.. /rspec_hel per'
  11   require_re lative '.. /../lib/pa ges/login_ page'
  12   require_re lative '.. /../lib/pa ges/eula'
  13   require_re lative '.. /../lib/pa ges/landin g_page'
  14   require_re lative '.. /../lib/pa ges/roa'
  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/pa ges/modal_ dialog'
  19   require_re lative '.. /../lib/pa ges/left_s ide_nav'
  20   require_re lative '.. /../lib/pa ges/learn_ more_accor dions'
  21  
  22   describe ' Story#DCKD A-939 Trea tment_Lear n_More_Con tent_DCKDA _939_spec. rb', :regr ession =>  true do
  23     include  DriverOper ationsModu le
  24  
  25     idName =  "treatmen t--learn-m ore-1"
  26  
  27     before(: all) do
  28  
  29       initia lizeConfig urations()
  30  
  31       @commo nElements  = CommonEl ement.new( @driver)
  32       @login page = Log inPage.new (@driver)
  33       @eula  = Eula.new (@driver)
  34       @landi ng = Landi ngPage.new (@driver)
  35       @roa =  Roa.new(@ driver)
  36       @leftn av = LeftS ideNav.new (@driver)
  37       @lp =  Launchpad. new(@drive r)
  38       @commo nTest = Co mmonTest.n ew(@driver )
  39       @modal  = Modal.n ew(@driver )
  40       @lmAcc d = LearnM oreAccd.ne w(@driver)
  41  
  42         @commonTes t.passByLa ndingPageA ndAuthenti cate(" AI ", " AI ", "patien t01, zztes t", "D1234 01")
  43       begin
  44         Wati r::Wait.un til
  45         @com monElement s.angulart itle_eleme nt.visible ?
  46       rescue
  47         Wati r::Wait::T imeoutErro r
  48         unti l
  49         @com monElement s.angulart itle_eleme nt.visible ?
  50         end
  51       end
  52  
  53       @commo nTest.wait ForContent LoadedSumm aryPage
  54       @leftn av.leftSid eNav
  55  
  56       @commo nTest.navi gateToAsub Feature("L earnMore",  ".treatme nt")
  57       
  58       @leftn av.clickAc cordion(7)
  59       sleep  0.5
  60     end
  61  
  62     after(:a ll) do
  63       @drive r.close
  64     end
  65  
  66     dataShee tFilePath  = File.dir name(__FIL E__) + '/. ./../datas heet/Learn _More_Cont ent.xls'
  67     book = S preadsheet .open data SheetFileP ath
  68     sheet1 =  book.work sheet 'tre atmentLear nMore'
  69  
  70     counter  = 0
  71     sheet1.e ach 1 do | row|
  72       counte r = counte r + 1
  73  
  74       rowLen gth = row. length
  75  
  76       topicS eqID = row [0].to_i
  77       expect edTopicTit le = row[2 ]
  78       expect edHyperLin k = row[3]
  79       openLi nk = row[4 ]
  80  
  81       contex t 'AC#DCKD A-869|TC#D CKDA-560:  Verify the  Resource  topic titi le, hyper  link displ ay correct ly. Clicki ng link op ens the co rrect web  page - ' +  expectedT opicTitle   do
  82  
  83         if t opicSeqID  == 1
  84           it  '. Verify  that the  text Resou rce displa ys ' do
  85              expect(@lm Accd.getRe sourceText (idName)). to eq("Res ources")
  86           en d
  87         end
  88  
  89         it ' . Verify t he resourc e title di splays cor rectly: '  do
  90           ex pect(@lmAc cd.getNthT opicTitle( idName, to picSeqID)) .to eq(exp ectedTopic Title)
  91         end
  92  
  93         it ' . Verify t hat the re source top ic has the  correct h yper link.  ' do
  94           ex pect(@lmAc cd.getNthT opicHyperL ink(idName , topicSeq ID)).to eq (expectedH yperLink)
  95         end
  96  
  97         it ' . Click th e topic an d verify i t opens up  a page in  the corre ct URL. '  do
  98           @l mAccd.clic kNthTopicH yperLink(i dName, top icSeqID)
  99           sw itchWindow ToWindowHa ndleLast()
  100           if  getCurren tURL().inc lude?(open Link.split ("//")[1])  == false
  101               puts "Dis crepancy!  Displayed  URL=" + ge tCurrentUR L()
  102           en d
  103           ex pect(getCu rrentURL() .include?( openLink.s plit("//") [1])).to e q(true)
  104  
  105           @d river.driv er.close()
  106           
  107           sw itchWindow ToWindowHa ndleFirst( )
  108  
  109           en d
  110       end
  111     end
  112   end