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.
# | Location | File | Last Modified |
---|---|---|---|
1 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec | rspec_helper.rb | Wed Apr 4 20:16:46 2018 UTC |
2 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\spec | rspec_helper.rb | Tue May 29 16:06:43 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 138 |
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 | require 'w atir-webdr iver' | |
2 | require 'r spec' | |
3 | require 'j son' | |
4 | require 'p age-object ' | |
5 | require 'p age-object /page_fact ory' | |
6 | require 'a llure-rspe c' | |
7 | require 'p athname' | |
8 | ||
9 | require_re lative '.. /lib/modul e/DriverOp erationsMo dule' | |
10 | require_re lative '.. /lib/modul e/DBOperat ionsModule ' | |
11 | ||
12 | ||
13 | RSpec.conf igure do | c| | |
14 | c.filter _run_exclu ding :brok en => true | |
15 | c.filter _run_exclu ding :regr ession => true | |
16 | c.filter _run_exclu ding :acce ptance => true | |
17 | c.filter _run_exclu ding :smok etest => t rue | |
18 | end | |
19 | ||
20 | RSpec.conf igure do | config| | |
21 | ||
22 | 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 } | |
23 | ||
24 | config.i nclude Pag eObject::P ageFactory | |
25 | config.i nclude All ureRSpec:: Adaptor | |
26 | ||
27 | config.b efore(:all ) do | |
28 | puts ' Before all Spec help er' | |
29 | end | |
30 | ||
31 | config.a fter(:each ) do | |
32 | exampl e = fetch_ current_ex ample.call (self); | |
33 | ||
34 | if exa mple.excep tion | |
35 | meta = example .metadata | |
36 | file name = Fil e.basename (meta[:fil e_path]) | |
37 | line _number = meta[:line _number] | |
38 | buil dJobUrl = ENV["JOB_U RL"] | |
39 | buil dJobNumber = ENV["BU ILD_NUMBER "] | |
40 | scre enshot_nam e = "scree nshot-#{fi lename}-#{ line_numbe r}.png" | |
41 | scre enshot_dir = "screen shots" + ( buildJobNu mber != ni l ? ("_" + buildJobN umber.to_s ) : "") | |
42 | scre enshot_pat h = screen shot_dir + "/#{scree nshot_name }" | |
43 | $BAS E_URL | |
44 | if ! Dir.exists ?(screensh ot_dir) | |
45 | Di r.mkdir sc reenshot_d ir | |
46 | end | |
47 | @dri ver.screen shot.save screenshot _path | |
48 | ||
49 | puts "----Scre enshot --- ---------- ---------- ---------- ---------- ---------- ---------- ---------" | |
50 | puts meta[:ful l_descript ion] + "\n Screensh ot: #{scre enshot_pat h}\n " + (buildJobU rl != nil ? buildJob Url.to_s : "") + "/w s/acceptan ce_test/wa tir/" + sc reenshot_p ath | |
51 | puts "-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------" | |
52 | end | |
53 | end | |
54 | ||
55 | end | |
56 | ||
57 | AllureRSpe c.configur e do |conf ig| | |
58 | config.o utput_dir = 'allure- results' | |
59 | config.c lean_dir = true # th is is the default va lue | |
60 | end | |
61 | ||
62 | ||
63 | $LOCAL = " http://loc alhost: PORT /mobile-ki dney/" | |
64 | $REMOTE= " http://api gateway/mo bile-kidne y/" | |
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.