percy-capybara 2.6.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/capybara/loaders/base_loader.rb +7 -3
- data/lib/percy/capybara/loaders/ember_cli_rails_loader.rb +15 -13
- data/lib/percy/capybara/loaders/sprockets_loader.rb +1 -1
- data/lib/percy/capybara/version.rb +1 -1
- data/percy-capybara.gemspec +1 -1
- data/spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/percy-admin-public.svg +34 -0
- data/spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/percy-frontend-public.svg +34 -0
- data/spec/lib/percy/capybara/client/snapshots_spec.rb +0 -1
- data/spec/lib/percy/capybara/loaders/base_loader_spec.rb +23 -14
- data/spec/lib/percy/capybara/loaders/ember_cli_rails_loader_spec.rb +8 -7
- data/spec/lib/percy/capybara/loaders/sprockets_loader_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -8
- metadata +10 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45e93cfdc34a6ab2afca7f8f21602f6e722d8c2e
|
4
|
+
data.tar.gz: c88c63e7071b3a653858ee8a9bb381d8120b57ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 307fb95d7ccc3443d47210244fb3046643b10841d4e0e8547302816d53da5ead96726f071b8632f5d66611b194f4028a5bbb8fd21d29c5e727035a03b1ada557
|
7
|
+
data.tar.gz: d61b94fcffdb72c50dfae42044adc69732321a62aa1c11563466c114ea70307cd9fd32f936ce1b149f46ed157a07b63b1e682fc30bfa6f63cba9103686d0cf2f
|
@@ -44,8 +44,10 @@ module Percy
|
|
44
44
|
attr_reader :page
|
45
45
|
|
46
46
|
# @param [Capybara::Session] page The Capybara page.
|
47
|
+
# @param [bool] include_iframes Include iframes in the snapshot
|
47
48
|
def initialize(options = {})
|
48
49
|
@page = options[:page]
|
50
|
+
@include_iframes = options[:include_iframes] || false
|
49
51
|
end
|
50
52
|
|
51
53
|
def build_resources
|
@@ -85,17 +87,18 @@ module Percy
|
|
85
87
|
# - Doesn't handle multiple iframes with the same URL (`src` attribute)
|
86
88
|
# @private
|
87
89
|
def iframes_resources
|
90
|
+
return [] unless @include_iframes
|
91
|
+
|
88
92
|
resources = []
|
89
93
|
|
90
94
|
page.all(:css, 'iframe').each do |iframe_element|
|
91
95
|
iframe_url = iframe_element[:src]
|
92
96
|
root_page_host = page.current_host
|
93
|
-
|
94
97
|
begin
|
95
98
|
page.within_frame(iframe_element) do
|
96
99
|
next unless page.current_host == root_page_host
|
97
100
|
path = URI.parse(iframe_url).path
|
98
|
-
content = page.
|
101
|
+
content = page.html
|
99
102
|
sha = Digest::SHA256.hexdigest(content)
|
100
103
|
resources <<
|
101
104
|
Percy::Client::Resource.new(
|
@@ -108,7 +111,8 @@ module Percy
|
|
108
111
|
rescue StandardError => e
|
109
112
|
# Skip frame not found errors. This library doesn't explicitly depend on Poltergeist,
|
110
113
|
# so we check the string class name.
|
111
|
-
raise e unless e.class.to_s == 'Capybara::Poltergeist::FrameNotFound'
|
114
|
+
raise e unless e.class.to_s == 'Capybara::Poltergeist::FrameNotFound' ||
|
115
|
+
e.class.to_s == 'Capybara::Poltergeist::TimeoutError'
|
112
116
|
end
|
113
117
|
end
|
114
118
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'percy/capybara/loaders/sprockets_loader'
|
2
|
+
require 'set'
|
2
3
|
|
3
4
|
module Percy
|
4
5
|
module Capybara
|
@@ -6,8 +7,6 @@ module Percy
|
|
6
7
|
class EmberCliRailsLoader < SprocketsLoader
|
7
8
|
attr_reader :mounted_apps
|
8
9
|
|
9
|
-
EMBER_ASSETS_DIR = 'assets'.freeze
|
10
|
-
|
11
10
|
def initialize(mounted_apps, options = {})
|
12
11
|
super(options)
|
13
12
|
|
@@ -16,25 +15,28 @@ module Percy
|
|
16
15
|
end
|
17
16
|
|
18
17
|
def build_resources
|
19
|
-
resources =
|
18
|
+
resources = super # adds sprockets resources first
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
# the output would be: /admin/assets
|
24
|
-
base_assets_url = File.join(mount_path, EMBER_ASSETS_DIR)
|
20
|
+
sprockets_resource_urls = resources.collect(&:resource_url)
|
21
|
+
loaded_resource_urls = Set.new(sprockets_resource_urls)
|
25
22
|
|
26
|
-
|
23
|
+
@mounted_apps.map do |app_name, mount_path|
|
24
|
+
# full path on disk to this ember app
|
27
25
|
# e.g. /Users/djones/Code/rails-ember-app/tmp/ember-cli/apps/frontend
|
28
26
|
dist_path = _dist_path_for_app(app_name)
|
29
27
|
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
resources_from_dir = _resources_from_dir(dist_path, base_url: mount_path)
|
29
|
+
|
30
|
+
resources_from_dir.each do |resource|
|
31
|
+
# avoid loading in duplicate resource_urls
|
32
|
+
next if loaded_resource_urls.include? resource.resource_url
|
33
33
|
|
34
|
-
|
34
|
+
resources << resource
|
35
|
+
loaded_resource_urls << resource.resource_url
|
36
|
+
end
|
35
37
|
end
|
36
38
|
|
37
|
-
resources
|
39
|
+
resources
|
38
40
|
end
|
39
41
|
|
40
42
|
def _dist_path_for_app(app_name)
|
data/percy-capybara.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency 'rake', '~> 10.0'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.2'
|
26
26
|
spec.add_development_dependency 'capybara', '~> 2.4'
|
27
|
-
spec.add_development_dependency '
|
27
|
+
spec.add_development_dependency 'poltergeist'
|
28
28
|
spec.add_development_dependency 'selenium-webdriver'
|
29
29
|
spec.add_development_dependency 'webmock', '~> 1'
|
30
30
|
spec.add_development_dependency 'mime-types', '< 3' # For Ruby 1.9 testing support.
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 170 110" enable-background="new 0 0 170 110" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<g>
|
7
|
+
<polyline fill="#1F0924" points="49.2,97.6 9.4,103.4 46,86.8 6.2,81.2 46,75.6 9.4,59 49.2,64.9 18.7,38.6 55.2,55.4 33.4,21.7
|
8
|
+
63.7,48.1 52.2,9.6 73.9,43.4 73.7,3.2 85,41.8 96.2,3.2 96.1,43.4 117.7,9.5 106.3,48.1 136.5,21.6 114.7,55.4 151.2,38.6
|
9
|
+
120.8,64.8 160.6,59 124,75.6 163.8,81.1 124,86.8 160.6,103.3 120.8,97.5 "/>
|
10
|
+
<polyline fill="#EDDDC2" points="52.8,90.2 18.5,90.3 51.4,80.7 18.5,71.2 52.8,71.3 23.9,52.8 56.8,62.6 63,55.4 48.7,24.2
|
11
|
+
71.1,50.2 66.1,16.3 80.2,47.5 85,13.5 89.8,47.5 103.9,16.3 98.9,50.2 121.3,24.2 107,55.4 113.2,62.6 146.1,52.8 117.2,71.3
|
12
|
+
151.5,71.2 118.6,80.7 151.5,90.3 117.2,90.2 "/>
|
13
|
+
</g>
|
14
|
+
<polygon fill="#EDDDC2" points="108.3,45.7 134.4,39.1 127.9,65.2 "/>
|
15
|
+
<polygon fill="#1F0924" points="114.2,48.6 128.5,45 124.9,59.3 114.2,59.3 "/>
|
16
|
+
<polygon fill="#EDDDC2" points="61.7,45.7 35.6,39.1 42.1,65.2 "/>
|
17
|
+
<polygon fill="#1F0924" points="55.8,48.6 41.5,45 45.1,59.3 55.8,59.3 "/>
|
18
|
+
<polyline fill="#B157B5" points="38.3,101.1 131.7,101.1 166.8,88.5 131.5,76 155.8,47.6 119,54.5 125.9,17.7 97.5,42 85,6.7
|
19
|
+
72.5,42 44.1,17.7 51,54.5 14.2,47.6 38.5,76 3.2,88.5 "/>
|
20
|
+
<circle fill="#EDDDC2" cx="61.4" cy="78.7" r="12.1"/>
|
21
|
+
<circle fill="#1F0924" cx="61.4" cy="78.7" r="9.5"/>
|
22
|
+
<circle fill="#EDDDC2" cx="58.2" cy="75.5" r="4.2"/>
|
23
|
+
<circle fill="#EDDDC2" cx="108.6" cy="78.7" r="12.1"/>
|
24
|
+
<circle fill="#1F0924" cx="108.6" cy="78.7" r="9.5"/>
|
25
|
+
<circle fill="#EDDDC2" cx="105.3" cy="75.5" r="4.2"/>
|
26
|
+
<path fill="#EDDDC2" d="M62.9,97.6c0-12.2,9.9-22.1,22.1-22.1s22.1,9.9,22.1,22.1S62.9,109.8,62.9,97.6z"/>
|
27
|
+
<path fill="#1F0924" d="M89.8,96.5c-2,0-3.7-1-4.8-2.5c-1,1.5-2.8,2.5-4.8,2.5c-3.2,0-5.8-2.6-5.8-5.8c0-0.6,0.4-1,1-1s1,0.4,1,1
|
28
|
+
c0,2.1,1.7,3.8,3.8,3.8s3.8-1.7,3.8-3.8h2c0,2.1,1.7,3.8,3.8,3.8s3.8-1.7,3.8-3.8c0-0.6,0.4-1,1-1s1,0.4,1,1
|
29
|
+
C95.5,93.9,93,96.5,89.8,96.5z"/>
|
30
|
+
<path fill="#1F0924" d="M92.8,83.6c0,4.3-3.5,7.8-7.8,7.8s-7.8-3.5-7.8-7.8C77.2,79.3,92.8,79.3,92.8,83.6z"/>
|
31
|
+
<path fill="#EDDDC2" d="M47,101.3c0-4,3.2-7.3,7.3-7.3s7.3,3.2,7.3,7.3S47,105.3,47,101.3z"/>
|
32
|
+
<path fill="#EDDDC2" d="M108.4,101.3c0-4,3.2-7.3,7.3-7.3c4,0,7.3,3.2,7.3,7.3S108.4,105.3,108.4,101.3z"/>
|
33
|
+
</g>
|
34
|
+
</svg>
|
data/spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/percy-frontend-public.svg
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 170 110" enable-background="new 0 0 170 110" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<g>
|
7
|
+
<polyline fill="#1F0924" points="49.2,97.6 9.4,103.4 46,86.8 6.2,81.2 46,75.6 9.4,59 49.2,64.9 18.7,38.6 55.2,55.4 33.4,21.7
|
8
|
+
63.7,48.1 52.2,9.6 73.9,43.4 73.7,3.2 85,41.8 96.2,3.2 96.1,43.4 117.7,9.5 106.3,48.1 136.5,21.6 114.7,55.4 151.2,38.6
|
9
|
+
120.8,64.8 160.6,59 124,75.6 163.8,81.1 124,86.8 160.6,103.3 120.8,97.5 "/>
|
10
|
+
<polyline fill="#EDDDC2" points="52.8,90.2 18.5,90.3 51.4,80.7 18.5,71.2 52.8,71.3 23.9,52.8 56.8,62.6 63,55.4 48.7,24.2
|
11
|
+
71.1,50.2 66.1,16.3 80.2,47.5 85,13.5 89.8,47.5 103.9,16.3 98.9,50.2 121.3,24.2 107,55.4 113.2,62.6 146.1,52.8 117.2,71.3
|
12
|
+
151.5,71.2 118.6,80.7 151.5,90.3 117.2,90.2 "/>
|
13
|
+
</g>
|
14
|
+
<polygon fill="#EDDDC2" points="108.3,45.7 134.4,39.1 127.9,65.2 "/>
|
15
|
+
<polygon fill="#1F0924" points="114.2,48.6 128.5,45 124.9,59.3 114.2,59.3 "/>
|
16
|
+
<polygon fill="#EDDDC2" points="61.7,45.7 35.6,39.1 42.1,65.2 "/>
|
17
|
+
<polygon fill="#1F0924" points="55.8,48.6 41.5,45 45.1,59.3 55.8,59.3 "/>
|
18
|
+
<polyline fill="#B157B5" points="38.3,101.1 131.7,101.1 166.8,88.5 131.5,76 155.8,47.6 119,54.5 125.9,17.7 97.5,42 85,6.7
|
19
|
+
72.5,42 44.1,17.7 51,54.5 14.2,47.6 38.5,76 3.2,88.5 "/>
|
20
|
+
<circle fill="#EDDDC2" cx="61.4" cy="78.7" r="12.1"/>
|
21
|
+
<circle fill="#1F0924" cx="61.4" cy="78.7" r="9.5"/>
|
22
|
+
<circle fill="#EDDDC2" cx="58.2" cy="75.5" r="4.2"/>
|
23
|
+
<circle fill="#EDDDC2" cx="108.6" cy="78.7" r="12.1"/>
|
24
|
+
<circle fill="#1F0924" cx="108.6" cy="78.7" r="9.5"/>
|
25
|
+
<circle fill="#EDDDC2" cx="105.3" cy="75.5" r="4.2"/>
|
26
|
+
<path fill="#EDDDC2" d="M62.9,97.6c0-12.2,9.9-22.1,22.1-22.1s22.1,9.9,22.1,22.1S62.9,109.8,62.9,97.6z"/>
|
27
|
+
<path fill="#1F0924" d="M89.8,96.5c-2,0-3.7-1-4.8-2.5c-1,1.5-2.8,2.5-4.8,2.5c-3.2,0-5.8-2.6-5.8-5.8c0-0.6,0.4-1,1-1s1,0.4,1,1
|
28
|
+
c0,2.1,1.7,3.8,3.8,3.8s3.8-1.7,3.8-3.8h2c0,2.1,1.7,3.8,3.8,3.8s3.8-1.7,3.8-3.8c0-0.6,0.4-1,1-1s1,0.4,1,1
|
29
|
+
C95.5,93.9,93,96.5,89.8,96.5z"/>
|
30
|
+
<path fill="#1F0924" d="M92.8,83.6c0,4.3-3.5,7.8-7.8,7.8s-7.8-3.5-7.8-7.8C77.2,79.3,92.8,79.3,92.8,83.6z"/>
|
31
|
+
<path fill="#EDDDC2" d="M47,101.3c0-4,3.2-7.3,7.3-7.3s7.3,3.2,7.3,7.3S47,105.3,47,101.3z"/>
|
32
|
+
<path fill="#EDDDC2" d="M108.4,101.3c0-4,3.2-7.3,7.3-7.3c4,0,7.3,3.2,7.3,7.3S108.4,105.3,108.4,101.3z"/>
|
33
|
+
</g>
|
34
|
+
</svg>
|
@@ -6,15 +6,6 @@ class RackAppWithIframe
|
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
|
-
# Mock dependency on Poltergeist so we can test an error class.
|
10
|
-
module Capybara
|
11
|
-
module Poltergeist
|
12
|
-
class Error < StandardError; end
|
13
|
-
class ClientError < Error; end
|
14
|
-
class FrameNotFound < ClientError; end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
9
|
RSpec.describe Percy::Capybara::Loaders::BaseLoader do
|
19
10
|
let(:loader) { described_class.new }
|
20
11
|
|
@@ -33,23 +24,41 @@ RSpec.describe Percy::Capybara::Loaders::BaseLoader do
|
|
33
24
|
end
|
34
25
|
end
|
35
26
|
describe '#iframes_resources', type: :feature, js: true do
|
36
|
-
it '
|
27
|
+
it 'excludes the iframe by default' do
|
37
28
|
visit '/test-iframe.html'
|
38
29
|
|
39
30
|
loader = described_class.new(page: page)
|
40
31
|
resources = loader.iframes_resources
|
32
|
+
expect(resources).to eq([])
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'includes the iframe with DOM HTML when include_iframes true' do
|
36
|
+
visit '/test-iframe.html'
|
37
|
+
|
38
|
+
loader = described_class.new(page: page, include_iframes: true)
|
39
|
+
resources = loader.iframes_resources
|
41
40
|
|
42
41
|
expect(resources.size).to eq(1) # doesn't include iframe to remote host
|
43
42
|
last_resource = resources.last
|
44
|
-
expect(last_resource.resource_url).to eq('iframe.html')
|
43
|
+
expect(last_resource.resource_url).to eq('/iframe.html')
|
45
44
|
expect(last_resource.mimetype).to eq('text/html')
|
46
45
|
expect(last_resource.content).to include('Inside iframe')
|
47
46
|
end
|
48
|
-
it 'skips poltergeist frame not found errors' do
|
47
|
+
it 'skips poltergeist frame not found errors when include_iframes true' do
|
49
48
|
visit '/test-iframe.html'
|
50
49
|
|
51
|
-
expect(page).to receive(:within_frame).twice
|
52
|
-
|
50
|
+
expect(page).to receive(:within_frame).twice
|
51
|
+
.and_raise(Capybara::Poltergeist::FrameNotFound, 'Hi')
|
52
|
+
loader = described_class.new(page: page, include_iframes: true)
|
53
|
+
resources = loader.iframes_resources
|
54
|
+
expect(resources.size).to eq(0)
|
55
|
+
end
|
56
|
+
it 'skips poltergeist timeout errors when include_iframes true' do
|
57
|
+
visit '/test-iframe.html'
|
58
|
+
|
59
|
+
expect(page).to receive(:within_frame).twice
|
60
|
+
.and_raise(Capybara::Poltergeist::TimeoutError, 'Hi')
|
61
|
+
loader = described_class.new(page: page, include_iframes: true)
|
53
62
|
resources = loader.iframes_resources
|
54
63
|
expect(resources.size).to eq(0)
|
55
64
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'set'
|
2
|
+
|
1
3
|
RSpec.describe Percy::Capybara::Loaders::EmberCliRailsLoader do
|
2
4
|
let(:assets_dir) { File.expand_path('../../client/ember_test_data', __FILE__) }
|
3
5
|
let(:mounted_apps) { {frontend: ''} }
|
@@ -62,14 +64,13 @@ RSpec.describe Percy::Capybara::Loaders::EmberCliRailsLoader do
|
|
62
64
|
end
|
63
65
|
|
64
66
|
it 'builds the expected resources' do
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
)
|
67
|
+
built_urls = Set.new(loader.build_resources.collect(&:resource_url))
|
68
|
+
|
69
|
+
expected_urls = Set.new
|
70
|
+
expected_urls << loader._uri_join(mount_path, "/assets/percy-#{ember_app}.svg")
|
71
|
+
expected_urls << loader._uri_join(mount_path, "/percy-#{ember_app}-public.svg")
|
71
72
|
|
72
|
-
expect(expected_urls).to
|
73
|
+
expect(expected_urls.subset?(built_urls)).to be true
|
73
74
|
end
|
74
75
|
end
|
75
76
|
end
|
@@ -42,7 +42,7 @@ RSpec.describe Percy::Capybara::Loaders::SprocketsLoader do
|
|
42
42
|
expect(resources.first.content).to include('Hello World')
|
43
43
|
end
|
44
44
|
end
|
45
|
-
context 'Capybara::
|
45
|
+
context 'Capybara::Poltergeist', type: :feature, js: true do
|
46
46
|
it 'returns the root HTML resource' do
|
47
47
|
visit '/'
|
48
48
|
resources = loader.snapshot_resources
|
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,10 @@
|
|
1
1
|
require 'capybara/rspec'
|
2
|
-
require 'capybara/
|
2
|
+
require 'capybara/poltergeist'
|
3
3
|
require 'webmock/rspec'
|
4
4
|
require 'support/test_helpers'
|
5
5
|
require 'percy'
|
6
6
|
require 'percy/capybara'
|
7
7
|
|
8
|
-
Capybara::Webkit.configure do |config|
|
9
|
-
# config.allow_url("*")
|
10
|
-
config.allow_url('localtest.me')
|
11
|
-
config.block_unknown_urls
|
12
|
-
end
|
13
|
-
|
14
8
|
RSpec.configure do |config|
|
15
9
|
config.include TestHelpers
|
16
10
|
|
@@ -39,7 +33,10 @@ RSpec.configure do |config|
|
|
39
33
|
Kernel.srand config.seed
|
40
34
|
|
41
35
|
# Comment this out to test the default Selenium/Firefox flow:
|
42
|
-
Capybara.javascript_driver = :
|
36
|
+
Capybara.javascript_driver = :poltergeist
|
37
|
+
Capybara.register_driver :poltergeist do |app|
|
38
|
+
Capybara::Poltergeist::Driver.new(app, timeout: 1, url_blacklist: ['i.imgur.com'])
|
39
|
+
end
|
43
40
|
|
44
41
|
config.before(:each) do
|
45
42
|
WebMock.disable_net_connect!(allow_localhost: true)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: percy-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Perceptual Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: percy-client
|
@@ -81,25 +81,19 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: poltergeist
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
- - "<"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 1.12.0
|
89
|
+
version: '0'
|
93
90
|
type: :development
|
94
91
|
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
96
93
|
requirements:
|
97
94
|
- - ">="
|
98
95
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
100
|
-
- - "<"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 1.12.0
|
96
|
+
version: '0'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
name: selenium-webdriver
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,8 +200,10 @@ files:
|
|
206
200
|
- spec/lib/percy/capybara/client/builds_spec.rb
|
207
201
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/assets/percy-admin.svg
|
208
202
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/index.html
|
203
|
+
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/percy-admin-public.svg
|
209
204
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/assets/percy-frontend.svg
|
210
205
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/index.html
|
206
|
+
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/percy-frontend-public.svg
|
211
207
|
- spec/lib/percy/capybara/client/snapshots_spec.rb
|
212
208
|
- spec/lib/percy/capybara/client/test_data/assets/css/digested-f3420c6aee71c137a3ca39727052811bae84b2f37d898f4db242e20656a1579e.css
|
213
209
|
- spec/lib/percy/capybara/client/test_data/assets/images/large-file-skipped.png
|
@@ -269,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
265
|
version: '0'
|
270
266
|
requirements: []
|
271
267
|
rubyforge_project:
|
272
|
-
rubygems_version: 2.
|
268
|
+
rubygems_version: 2.4.8
|
273
269
|
signing_key:
|
274
270
|
specification_version: 4
|
275
271
|
summary: Percy::Capybara
|
@@ -277,8 +273,10 @@ test_files:
|
|
277
273
|
- spec/lib/percy/capybara/client/builds_spec.rb
|
278
274
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/assets/percy-admin.svg
|
279
275
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/index.html
|
276
|
+
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/admin/percy-admin-public.svg
|
280
277
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/assets/percy-frontend.svg
|
281
278
|
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/index.html
|
279
|
+
- spec/lib/percy/capybara/client/ember_test_data/ember-cli/frontend/percy-frontend-public.svg
|
282
280
|
- spec/lib/percy/capybara/client/snapshots_spec.rb
|
283
281
|
- spec/lib/percy/capybara/client/test_data/assets/css/digested-f3420c6aee71c137a3ca39727052811bae84b2f37d898f4db242e20656a1579e.css
|
284
282
|
- spec/lib/percy/capybara/client/test_data/assets/images/large-file-skipped.png
|