2707. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/10/2018 8:40:53 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.

2707.1 Files compared

# Location File Last Modified
1 MHED_APPS_CIF.zip\VATS v2.1.2\var-utility-web-2.1.2@c27506c69b7.zip\acceptance-tests\watir-ruby\spec rspec_helper.rb Fri Mar 9 16:50:58 2018 UTC
2 MHED_APPS_CIF.zip\VATS v2.1.2\var-utility-web-2.1.2@c27506c69b7.zip\acceptance-tests\watir-ruby\spec rspec_helper.rb Thu May 3 17:12:21 2018 UTC

2707.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 4 174
Changed 3 14
Inserted 0 0
Removed 0 0

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

2707.4 Active regular expressions

No regular expressions were active.

2707.5 Comparison detail

  1   require 'p age-object '
  2   require 'p age-object /page_fact ory'
  3   require 'r spec'
  4   require 'w atir-webdr iver'
  5  
  6   path = Fil e.expand_p ath('../.. /common',  __FILE__)
  7   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  8   path = Fil e.expand_p ath('../.. /module',  __FILE__)
  9   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  10   path = Fil e.expand_p ath('../.. /module/da tabase', _ _FILE__)
  11   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  12   path = Fil e.expand_p ath('../.. /helper',  __FILE__)
  13   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  14  
  15   p path = F ile.expand _path('../ ../pages/' , __FILE__ )
  16   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  17   path = Fil e.expand_p ath('../.. /pages/bas e', __FILE __)
  18   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  19  
  20   path = Fil e.expand_p ath('../.. /spec', __ FILE__)
  21   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  22  
  23   # p path =  File.expa nd_path( _ _FILE__)
  24   # p path =  File.expa nd_path('. ./../spec' , __FILE__ )
  25  
  26   RSpec.conf igure do | c|
  27     # declar e an exclu sion filte r
  28     c.filter _run_exclu ding :brok en => true
  29     c.filter _run_exclu ding :regr ession =>  true
  30     c.filter _run_exclu ding :acce ptance =>  true
  31     c.filter _run_exclu ding :smok etest => t rue
  32     c.filter _run_exclu ding :arch ived => tr ue
  33   end
  34  
  35   RSpec.conf igure do | config|
  36  
  37     fetch_cu rrent_exam ple = RSpe c.respond_ to?(:curre nt_example ) ? proc {  RSpec.cur rent_examp le } : pro c { |conte xt| contex t.example  }
  38  
  39     config.i nclude Pag eObject::P ageFactory
  40  
  41     config.a fter(:each ) do
  42       exampl e = fetch_ current_ex ample.call (self);
  43  
  44       if exa mple.excep tion
  45         meta  = example .metadata
  46         file name = Fil e.basename (meta[:fil e_path])
  47         line _number =  meta[:line _number]
  48         buil dJobUrl =  ENV["JOB_U RL"]
  49         buil dJobNumber  = ENV["BU ILD_NUMBER "]
  50         scre enshot_nam e = "scree nshot-#{fi lename}-#{ line_numbe r}.png"
  51         scre enshot_dir  = "screen shots" + ( buildJobNu mber != ni l ? ("_" +  buildJobN umber.to_s ) : "")
  52         scre enshot_pat h = screen shot_dir +  "/#{scree nshot_name }"
  53  
  54  
  55         if ! Dir.exists ?(screensh ot_dir)
  56           Di r.mkdir sc reenshot_d ir
  57         end
  58  
  59         @dri ver.screen shot.save  screenshot _path
  60         puts  "----Test  Failed @  URL =>  "  + @driver. url
  61         puts  "----Scre enshot --- ---------- ---------- ---------- ---------- ---------- ---------- ---------"
  62         puts  meta[:ful l_descript ion] + "\n   Screensh ot: #{scre enshot_pat h}\n  " +  (buildJobU rl != nil  ? buildJob Url.to_s :  "") + "/w s/veteran- appointmen t-requests /test/wati r-ruby/" +  screensho t_path
  63         puts  "-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------"
  64       end
  65     end
  66  
  67   end
  68  
  69   BASE_URL =  "https:// IP        /va-tool-s et-web/#/l ogin"
  70  
  71   LAUNCHPAD_ URL = "htt ps:// IP        /launchpad /"
  72   VAR_URL =  "https:// IP        /var-utili ty"
  73   TIME_OUT_L IMIT = 45
  74  
  75   #App Stati c variable s
  76   PRIMARY_CA RE = "Prim ary Care"
  77   AUDIOLOGY  = "Audiolo gy"
  78   OPTOMETRY  = "Optomet ry"
  79   MENTAL_HEA LTH = "Out patient Me ntal Healt h"
  80  
  81   UserAccess 7 = {"acce ss_code" = > " USER ", "verify _code" =>  " REDACTED ", "statio n" => "BOS TON HCS VA MC", "vist a_location "=> "523",  "userId"= >"990"}
  82   UserAccess 70 = {"acc ess_code"  => " USER ", "verify _code" =>  " REDACTED ", "statio n" => "BOS TON HCS VA MC", "vist a_location "=> "523",  "userId"= >"1615"}
  83   UserAccess 50 = {"acc ess_code"  => " USER ", "verify _code" =>  " REDACTED ", "statio n" => "BOS TON HCS VA MC", "vist a_location "=> "523",  "userId"= >"1595"}
  84   UserAccess 1234 = {"a ccess_code " => " USER ", "verify _code" =>  " REDACTED ", "statio n" => "WAS HINGTON",  "vista_loc ation"=> " 688", "use rId"=>"1"}
  85  
  86  
  87  
  88  
  89  
  90  
  91  
  92  
  93  
  94