bbc / wraith

Wraith — A responsive screenshot comparison tool

Home Page:http://bbc-news.github.io/wraith/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An empty gallery with the paths

khana25 opened this issue · comments

Hi all, I have setup wraith tests on my Windows machine. Installed all the required configs and tools. While running the the command: wraith capture uat_test.yaml from the command prompt, I'm getting an empty gallery with the paths configured in that config file


Reporting a problem? Please describe the issue above, and complete the following checklist so that we can help you more quickly.

Issue checklist:

  • [Done ] I have validated my config file against YAML Validator to make sure it is valid YAML.

Validated Yaml file

Total Character | Total Word | Total Lines | Size
2488 | 308 | 78 | 2.58 KB

  • [Done ] I have run the wraith info command and pasted the output below:
Config validated. No serious issues found.
Creating Folders
SAVING IMAGES
CCCaCaaanCnnn'a'''tnttt '   otooopppp eeeeonnnnp    e''''n'''' DDDD':::/'/:/RDR/Ru:uRub/bubyRyby2u2y22b/222yl2//2i/bl2ll/i/iirblbbu/i//brbrryu/uu/brbbgyuybe/y/ymg/g/segeg/meme2smsm./s//22s22../..02222/....g0200e/.//mg0ggse/ee/mgmmwsessr/m//awswwir/rrtawaahirti-iaht4ti-h.ht4-2-h.4.4-2.1.4.2/2l1...i/121b//.l/ll1iwii/brbbl/a//iwiwwbrtar/rhiawa/tirijhtata/hihvj/t/ajjhasaa/vcvrjavsiaaacpvssrtacci/srrppciithrpp/aittpnp//httppao/hhampnan.htntjaotosnmom't.m.'oj.j
msjs.''js''sC

''a''nCC
'
aantn' 'tot p oeopnpe n'e 'n'D ':'D/':RD/u:Rb/uyRb2uy2b2/y2l2/i2lb/i/lbri/ubrb/uyrb/uygb/eygm/esgm/es2m/.s2C2/C.a.2a.n0'n22/t'..g t00eo //mpoggsepee/nemmw nss/' r/w''awrr'iDaaDt:ii:h/tt/-Rhh-4uR-4.bu4.2yb.2.2y2.122.11/2///l/llliliiibibbb/b///r/wwwurrurbrabayaiyi/it/tgthgheh/e/m/jmjsjasa/a2/vvv.2aaa2.sss.2ccc0.rrr/0iiig/ppptgtet/e/m/pmpsphsh/ha/awanwnrntrtatoaoiomimtm.t.h.jhj-js-s4s'4'.''.'2'
2
..
1C1/a/ClnlCi'aiabtnbn/ '/'wotwtrp r aeoapinoiet ptnh'eh /'n/'jD j'a:'aDv/'v:aRDa/su:sRcb/curyRrbi2uiyp2bp2t/yt2/l2//pi2plhb/hia/lrbn/iuatrbbnou/ytmbr/o.yugmj/be.sgymj'e/ms'sgs'
/e/'2m2
.s.2/.220../02g/.eg0me/smg/sew/mrwsar/iawtirhta-hi4-t.4h2C-.aC.41na2./'n.2lt'1.i t/1bo l//poilweCbirpna/bae nw'in'/rtt 'wa h'Drio/':atpjD/ihe/:Rtunj/aRb ahvuy'v/ab2'ajsy22s2cD/ac/r:lvrli/iaiipRbspbtu/ct//brr/rpyuipuh2bphba2ytayn///nt/lgptogiehmoebma.mmjsn./ss/t2r/'jo.u2'sm2..
2b.j'.y0s'0//'
/gg'ge
eemmCCssmaa//snnw2r''/.attw2i tr. oha0op-i/pe4t.engh2n e-. 'm41''sD/'./2lD:w.i1/r:b/Ra//luiRwibturbyhbay2-/i224wt2/.rh/l2a/li.ijib1tab//hv/rl/aruijsubbacby/vry/wai/prsggtacee/mrsipmi/thsp2ha/t./n2/2jt.p.ao2h0am.v/n.tag0jose/smcmg'.rse'jism
/p'swt/r'/wa
prihatahin-4tt.oh2m-..41j./s2'l.'i1
b//liwbr/awirtaChiC/atajnhna'/'vtjta a sovocpapreseincnpC r ta'i'/n'p'p'DtDht:/:a /p/noRhRtpuauoebnbmnyty. 2o2j'2m2s'/./'Dljl':isi
/b'bR/r/u'urb
bCuyyb2a/y2nC//g'agletneim 'mbsots//r /p2uo2e.bp.n2ye2 .'n./0' 0g/D'/eg:'gme/mesDRsm/su/:2/bwy.w/r22rRa2.aui/tib0yhtl/2-hig24-be/.4/ml2.r2i.s1.bu//1/bwl/ryrilu/abibgi/bwety/rmh/was-gri/tea42hmi..2s./2t/1j.h2/a0/.lv/j2iaga.bsevm/c0aswr/s/rigcwaperritmist/ap/tpihw/ht/rpahjahn-aiat4vtno.ahtm2s-o..c4mj1r.is/.lp'2jit'.
b/s1/'/pw'lhr
iaabnitt/how/mrj.aajivsta'hs'/c
jraiCvpaatns/c'prthi apontpC/teaponnh' mat'.n 'jtoDsop:'me/'.
Rnju sb''y''2D
:2//Rluibby/2r2u/blyi/bg/ermusb/y2/.g2e.m0s//g2e.m2s./0w/rgaeimtsh/-w4r.a2i.t1h/-l4i.b2/.w1r/aliitbh//wjraaviatshc/rjiapvta/spchrainptto/mp.hjasn't'o
m.js''
Can't open ''D:/Ruby22/lib/ruby/gems/2.2.0/gems/wraith-4.2.1/lib/wraith/javascript/phantom.js''
Can't open ''D:/Ruby22/lib/ruby/gems/2.2.0/gems/wraith-4.2.1/lib/wraith/javascript/phantom.js''
Can't open ''D:/Ruby22/lib/ruby/gems/2.2.0/gems/wraith-4.2.1/lib/wraith/javascript/phantom.js''
CROPPING IMAGES
Process.fork is not supported by this Ruby
COMPARING IMAGES
Process.fork is not supported by this Ruby
GENERATING THUMBNAILS
Process.fork is not supported by this Ruby
GENERATING GALLERY
Gallery generated

View the gallery in your browser:
  • [Done ] I have run the command in verbose mode (by adding verbose: true to my config) and pasted the output below:
paste results here
  • [Done ] I have pasted the contents of my config file below:
My config file is:

# (required) The engine to run Wraith with. Examples: 'phantomjs', 'casperjs', 'slimerjs'
verbose: true
browser: "phantomjs"
phantomjs_options: '--ignore-ssl-errors=true --ssl-protocol=tlsv1'

# (required) The domain to take screenshots of.
domains:
  bau:  "https://bau.d.berkeleygroup.co.uk"
  live: "https://www.berkeleygroup.co.uk"

#spider_file: conning_spider_paths.txt
#imports: "spider_paths.yml"

# (optional) JavaScript file to execute before taking screenshot of every path. Default: nil
before_capture: 'javascript/wait--phantom.js'


# (required) Screen widths (and optional height) to resize the browser to before taking the screenshot.

screen_widths:
  - 320
  - 600

paths:
    homepage: "/"
    my-home: "/my-home"
    my-home__sign-in: "/my-home/sign-in"

# (optional) Resize to each screen width (efficient), or reload at each screen width (costly). Default: 'reload'
resize_or_reload: 'resize'

# (required for history mode, otherwise optional) The directory that your base screenshots will be stored in.
history_dir: 'shots_base'

# (required) The directory that your latest screenshots will be stored in
directory: 'screenshots'

# (required) Amount of fuzz ImageMagick will use when comparing images. A higher fuzz makes the comparison less strict.
fuzz: '20%'

# (optional) The maximum acceptable level of difference (in %) between two images before Wraith reports a failure. Default: 0
threshold: 5

# (optional) Specify the template (and generated thumbnail sizes) for the gallery output.
gallery:
template: 'slideshow_template' # Examples: 'basic_template' (default), 'slideshow_template'
thumb_width:  200
thumb_height: 200



# (optional) Choose which results are displayed in the gallery, and in what order. Default: alphanumeric

# Options:

#   alphanumeric - all paths (with or without a difference) are shown, sorted by path

#   diffs_first - all paths (with or without a difference) are shown, sorted by difference size (largest first)

#   diffs_only - only paths with a difference are shown, sorted by difference size (largest first)

# Note: different screen widths are always grouped together.

mode: diffs_first



# (optional) Color to highlight the image diff. Default: 'blue'

highlight_color: red



# (optional) Parameters to pass to Phantom/Casper command line. Default: '--ignore-ssl-errors=true --ssl-protocol=tlsv1'

#phantomjs_options: ''