wraith 1.3.5 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/lib/wraith/cli.rb +16 -0
- data/lib/wraith/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc38ae6e0abd45100f8acc5518a2016dd586766c
|
|
4
|
+
data.tar.gz: 02ecf8c6df92278b7913c594d430f75d83bf32a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0dc03f057c40ab10406c2e93316b04387d99da3c2ce5fa58f2c5fdc7e89fe7dc65fc56b4e5e3d8073593c681805f111211d609315da49794ffdf9e056f58ed2e
|
|
7
|
+
data.tar.gz: 97ab8361213dda8d3d5e96fdcf6592d9b99b6e02d549d2f4406e407c166bc848961346fdfa590f2e5a3f628d054c7f1752e69b6c1a0727b135ade14ff9788f66
|
data/README.md
CHANGED
|
@@ -96,3 +96,18 @@ Take a look at the LICENSE file in the code.
|
|
|
96
96
|
* [Dave Blooman](http://twitter.com/dblooman)
|
|
97
97
|
* [John Cleveley](http://twitter.com/jcleveley)
|
|
98
98
|
* [Simon Thulbourn](http://twitter.com/sthulbourn)
|
|
99
|
+
|
|
100
|
+
## Selenium-Wraith
|
|
101
|
+
|
|
102
|
+
Anyone interested in integrating selenium capability with Wraith should check out
|
|
103
|
+
Selenium-Wraith by Andrew Tekle-Cadman of Future Visible.
|
|
104
|
+
|
|
105
|
+
Selenium-Wraith was forked from the BBC repo on 16/04/14 and adds the following capabilities to Wraith
|
|
106
|
+
|
|
107
|
+
1. Selenium integration, both running locally on a desktop or on a selenium grid
|
|
108
|
+
2. Browser to browser screenshot comparison
|
|
109
|
+
3. Page component-based comparison
|
|
110
|
+
|
|
111
|
+
You can check out Andrew's Project on GitHub here:
|
|
112
|
+
|
|
113
|
+
https://github.com/andrewccadman/wraith-selenium
|
data/lib/wraith/cli.rb
CHANGED
|
@@ -92,4 +92,20 @@ class Wraith::CLI < Thor
|
|
|
92
92
|
capture(config.chomp)
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
|
+
|
|
96
|
+
desc 'history [config_name]', 'Setup a baseline set of shots'
|
|
97
|
+
def history(config)
|
|
98
|
+
reset_shots(config)
|
|
99
|
+
setup_folders(config)
|
|
100
|
+
save_images(config)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
desc 'latest [config_name]', 'Capture new shots to compare with baseline'
|
|
104
|
+
def latest(config)
|
|
105
|
+
save_images(config)
|
|
106
|
+
crop_images(config)
|
|
107
|
+
compare_images(config)
|
|
108
|
+
generate_thumbnails(config)
|
|
109
|
+
generate_gallery(config)
|
|
110
|
+
end
|
|
95
111
|
end
|
data/lib/wraith/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wraith
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Blooman
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-09-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pry
|