23. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/27/2017 9:44:49 AM 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.

23.1 Files compared

# Location File Last Modified
1 adk\adk\product\tests\features.arch solr_smoke_test.rb Mon Mar 16 18:52:56 2015 UTC
2 adk\adk\product\tests\features.arch solr_smoke_test.rb Tue Sep 26 13:12:44 2017 UTC

23.2 Comparison summary

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

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

23.4 Active regular expressions

No regular expressions were active.

23.5 Comparison detail

  1   path = Fil e.expand_p ath '..',  __FILE__
  2   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  3   path = Fil e.expand_p ath '../.. /../shared -test-ruby ', __FILE_ _
  4   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  5  
  6   require "r spec/expec tations"
  7   require 'F indElement Factory.rb '
  8   require 'W ebDriverFa ctory.rb'
  9   require 'C ommonDrive r.rb'
  10   require 'S eleniumCom mand.rb'
  11  
  12   When(/^use r lunch Ap ache Solr$ /) do
  13       @base_url  = 'http:// IP               /solr/#/'
  14     Selenium Command.na vigate_to_ url(@base_ url)
  15   end
  16  
  17   Then(/^the  main page  title dis plays "(.* ?)"$/) do  |expect_ti tle|
  18     runtime_ title = Se leniumComm and.getbac k_page_tit le
  19     expect(r untime_tit le).to eq  expect_tit le
  20   end
  21  
  22   Then(/^the  main page  dispaly b elow side  menu$/) do  |table|
  23     table.ro ws.each do  |menu|
  24       if Sel eniumComma nd.find_el ement(menu [0]) == ni l
  25         fail  "There is  no such e lement '#{ menu[0]}'  found in s ide menu"
  26       end
  27     end
  28   end
  29  
  30   When(/^use r search f or "(.*?)"  in Core S elector$/)  do |core_ selector|
  31     @base_ur l = @base_ url + core _selector
  32     temp_xpa th = "//li [contains( string(),  '#{core_se lector}')] "
  33  
  34     if Selen iumCommand .driver.fi nd_element s(:xpath,  temp_xpath ).any?
  35       Seleni umCommand. navigate_t o_url(@bas e_url)
  36     else
  37       fail ' There is n o such Cor e Selector  found'
  38     end
  39   end
  40  
  41   Then(/^the  Number Do cs under S tatistics  display "( .*?)"$/) d o |expect_ num_docs|
  42     xpath =  "//*[@id=' statistics ']/div[2]/ dl/dd[2]"
  43     runtime_ num_docs =  SeleniumC ommand.get back_eleme nt_text('x path', xpa th)
  44     expect(r untime_num _docs).to  eq expect_ num_docs
  45   end
  46  
  47   Then(/^the  below sid e menu dis paly under  search ba r$/) do |t able|
  48     table.ro ws.each do  |menu|
  49       if Sel eniumComma nd.find_el ement(menu [0]) == ni l
  50         fail  "There is  no such e lement '#{ menu[0]}'  found in s ide menu"
  51       end
  52     end
  53   end