katzil-capybara 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +87 -0
- data/Manifest +89 -0
- data/README.rdoc +7 -0
- data/Rakefile +14 -0
- data/katzil-capybara.gemspec +32 -0
- data/lib/capybara.rb +52 -0
- data/lib/capybara/cucumber.rb +32 -0
- data/lib/capybara/driver/base.rb +48 -0
- data/lib/capybara/driver/celerity_driver.rb +143 -0
- data/lib/capybara/driver/culerity_driver.rb +25 -0
- data/lib/capybara/driver/rack_test_driver.rb +271 -0
- data/lib/capybara/driver/selenium_driver.rb +156 -0
- data/lib/capybara/dsl.rb +60 -0
- data/lib/capybara/node.rb +60 -0
- data/lib/capybara/rails.rb +17 -0
- data/lib/capybara/save_and_open_page.rb +33 -0
- data/lib/capybara/searchable.rb +54 -0
- data/lib/capybara/server.rb +114 -0
- data/lib/capybara/server.rb.orig +114 -0
- data/lib/capybara/session.rb +262 -0
- data/lib/capybara/spec/driver.rb +162 -0
- data/lib/capybara/spec/fixtures/capybara.jpg +0 -0
- data/lib/capybara/spec/fixtures/test_file.txt +1 -0
- data/lib/capybara/spec/public/jquery-ui.js +35 -0
- data/lib/capybara/spec/public/jquery.js +19 -0
- data/lib/capybara/spec/public/test.js +33 -0
- data/lib/capybara/spec/session.rb +81 -0
- data/lib/capybara/spec/session/all_spec.rb +69 -0
- data/lib/capybara/spec/session/attach_file_spec.rb +64 -0
- data/lib/capybara/spec/session/check_spec.rb +67 -0
- data/lib/capybara/spec/session/choose_spec.rb +26 -0
- data/lib/capybara/spec/session/click_button_spec.rb +236 -0
- data/lib/capybara/spec/session/click_link_spec.rb +108 -0
- data/lib/capybara/spec/session/click_spec.rb +24 -0
- data/lib/capybara/spec/session/current_url_spec.rb +8 -0
- data/lib/capybara/spec/session/fill_in_spec.rb +108 -0
- data/lib/capybara/spec/session/find_button_spec.rb +16 -0
- data/lib/capybara/spec/session/find_by_id_spec.rb +16 -0
- data/lib/capybara/spec/session/find_field_spec.rb +22 -0
- data/lib/capybara/spec/session/find_link_spec.rb +17 -0
- data/lib/capybara/spec/session/find_spec.rb +57 -0
- data/lib/capybara/spec/session/has_button_spec.rb +32 -0
- data/lib/capybara/spec/session/has_content_spec.rb +106 -0
- data/lib/capybara/spec/session/has_css_spec.rb +107 -0
- data/lib/capybara/spec/session/has_field_spec.rb +96 -0
- data/lib/capybara/spec/session/has_link_spec.rb +33 -0
- data/lib/capybara/spec/session/has_select_spec.rb +89 -0
- data/lib/capybara/spec/session/has_table_spec.rb +96 -0
- data/lib/capybara/spec/session/has_xpath_spec.rb +123 -0
- data/lib/capybara/spec/session/headers.rb +19 -0
- data/lib/capybara/spec/session/javascript.rb +204 -0
- data/lib/capybara/spec/session/locate_spec.rb +59 -0
- data/lib/capybara/spec/session/select_spec.rb +77 -0
- data/lib/capybara/spec/session/uncheck_spec.rb +21 -0
- data/lib/capybara/spec/session/unselect_spec.rb +54 -0
- data/lib/capybara/spec/session/within_spec.rb +153 -0
- data/lib/capybara/spec/test_app.rb +75 -0
- data/lib/capybara/spec/views/buttons.erb +4 -0
- data/lib/capybara/spec/views/fieldsets.erb +29 -0
- data/lib/capybara/spec/views/form.erb +234 -0
- data/lib/capybara/spec/views/frame_one.erb +8 -0
- data/lib/capybara/spec/views/frame_two.erb +8 -0
- data/lib/capybara/spec/views/postback.erb +13 -0
- data/lib/capybara/spec/views/tables.erb +122 -0
- data/lib/capybara/spec/views/with_html.erb +42 -0
- data/lib/capybara/spec/views/with_js.erb +39 -0
- data/lib/capybara/spec/views/with_scope.erb +36 -0
- data/lib/capybara/spec/views/with_simple_html.erb +1 -0
- data/lib/capybara/spec/views/within_frames.erb +10 -0
- data/lib/capybara/version.rb +3 -0
- data/lib/capybara/wait_until.rb +28 -0
- data/lib/capybara/xpath.rb +179 -0
- data/spec/capybara_spec.rb +18 -0
- data/spec/driver/celerity_driver_spec.rb +16 -0
- data/spec/driver/culerity_driver_spec.rb +12 -0
- data/spec/driver/rack_test_driver_spec.rb +11 -0
- data/spec/driver/remote_culerity_driver_spec.rb +23 -0
- data/spec/driver/remote_selenium_driver_spec.rb +18 -0
- data/spec/driver/selenium_driver_spec.rb +11 -0
- data/spec/dsl_spec.rb +140 -0
- data/spec/save_and_open_page_spec.rb +43 -0
- data/spec/searchable_spec.rb +66 -0
- data/spec/server_spec.rb +53 -0
- data/spec/session/celerity_session_spec.rb +27 -0
- data/spec/session/culerity_session_spec.rb +25 -0
- data/spec/session/rack_test_session_spec.rb +33 -0
- data/spec/session/selenium_session_spec.rb +25 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/wait_until_spec.rb +28 -0
- data/spec/xpath_spec.rb +180 -0
- metadata +245 -0
- metadata.gz.sig +2 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
2
|
+
|
3
|
+
require 'capybara'
|
4
|
+
require 'capybara/wait_until'
|
5
|
+
|
6
|
+
module Capybara
|
7
|
+
|
8
|
+
describe WaitUntil do
|
9
|
+
|
10
|
+
it "should return result of yield if it returns true value within timeout" do
|
11
|
+
WaitUntil.timeout { "hello" }.should == "hello"
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should keep trying within timeout" do
|
15
|
+
count = 0
|
16
|
+
WaitUntil.timeout { count += 1; count == 5 ? count : nil }.should == 5
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should raise Capybara::TimeoutError if block fails to return true within timeout" do
|
20
|
+
running do
|
21
|
+
WaitUntil.timeout(0.1) { false }
|
22
|
+
end.should raise_error(::Capybara::TimeoutError)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
data/spec/xpath_spec.rb
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
2
|
+
|
3
|
+
describe Capybara::XPath do
|
4
|
+
|
5
|
+
before do
|
6
|
+
@driver = Capybara::Driver::RackTest.new(TestApp)
|
7
|
+
@driver.visit('/form')
|
8
|
+
@xpath = Capybara::XPath.new
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should proxy any class method calls to a new instance" do
|
12
|
+
@query = Capybara::XPath.fillable_field('First Name').to_s
|
13
|
+
@driver.find(@query).first.value.should == 'John'
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should respond to instance methods at the class level" do
|
17
|
+
Capybara::XPath.should respond_to(:fillable_field)
|
18
|
+
end
|
19
|
+
|
20
|
+
describe '.wrap' do
|
21
|
+
it "should return an XPath unmodified" do
|
22
|
+
Capybara::XPath.wrap(@xpath).should == @xpath
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should wrap a string in an xpath object" do
|
26
|
+
@xpath = Capybara::XPath.wrap('//foo/bar')
|
27
|
+
@xpath.should be_an_instance_of(Capybara::XPath)
|
28
|
+
@xpath.paths.should == ['//foo/bar']
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe '#append' do
|
33
|
+
it "should append an XPath's paths" do
|
34
|
+
@xpath = Capybara::XPath.wrap('//test')
|
35
|
+
@xpath = @xpath.append(Capybara::XPath.wrap('//foo/bar'))
|
36
|
+
@xpath.paths.should == ['//test', '//foo/bar']
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should append an String as a new path" do
|
40
|
+
@xpath = Capybara::XPath.wrap('//test')
|
41
|
+
@xpath = @xpath.append('//foo/bar')
|
42
|
+
@xpath.paths.should == ['//test', '//foo/bar']
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe '#prepend' do
|
47
|
+
it "should prepend an XPath's paths" do
|
48
|
+
@xpath = Capybara::XPath.wrap('//test')
|
49
|
+
@xpath = @xpath.prepend(Capybara::XPath.wrap('//foo/bar'))
|
50
|
+
@xpath.paths.should == ['//foo/bar', '//test']
|
51
|
+
end
|
52
|
+
|
53
|
+
it "should prepend an String as a new path" do
|
54
|
+
@xpath = Capybara::XPath.wrap('//test')
|
55
|
+
@xpath = @xpath.prepend('//foo/bar')
|
56
|
+
@xpath.paths.should == ['//foo/bar', '//test']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe '#scope' do
|
61
|
+
it "should prepend the given scope to all paths" do
|
62
|
+
@xpath = Capybara::XPath.new('//foo/bar', '//test[@blah=foo]').scope('//quox')
|
63
|
+
@xpath.paths.should include('//quox//foo/bar', '//quox//test[@blah=foo]')
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
describe '#field' do
|
68
|
+
it "should find any field by id or label" do
|
69
|
+
@query = @xpath.field('First Name').to_s
|
70
|
+
@driver.find(@query).first.value.should == 'John'
|
71
|
+
@query = @xpath.field('Password').to_s
|
72
|
+
@driver.find(@query).first.value.should == 'seeekrit'
|
73
|
+
@query = @xpath.field('Description').to_s
|
74
|
+
@driver.find(@query).first.text.should == 'Descriptive text goes here'
|
75
|
+
@query = @xpath.field('Document').to_s
|
76
|
+
@driver.find(@query).first[:name].should == 'form[document]'
|
77
|
+
@query = @xpath.field('Cat').to_s
|
78
|
+
@driver.find(@query).first.value.should == 'cat'
|
79
|
+
@query = @xpath.field('Male').to_s
|
80
|
+
@driver.find(@query).first.value.should == 'male'
|
81
|
+
@query = @xpath.field('Region').to_s
|
82
|
+
@driver.find(@query).first[:name].should == 'form[region]'
|
83
|
+
end
|
84
|
+
|
85
|
+
it "should be chainable" do
|
86
|
+
@query = @xpath.field('First Name').button('Click me!').to_s
|
87
|
+
@driver.find(@query).first.value.should == 'John'
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
describe '#fillable_field' do
|
92
|
+
it "should find a text field, password field, or text area by id or label" do
|
93
|
+
@query = @xpath.fillable_field('First Name').to_s
|
94
|
+
@driver.find(@query).first.value.should == 'John'
|
95
|
+
@query = @xpath.fillable_field('Password').to_s
|
96
|
+
@driver.find(@query).first.value.should == 'seeekrit'
|
97
|
+
@query = @xpath.fillable_field('Description').to_s
|
98
|
+
@driver.find(@query).first.text.should == 'Descriptive text goes here'
|
99
|
+
end
|
100
|
+
|
101
|
+
it "should be chainable" do
|
102
|
+
@query = @xpath.fillable_field('First Name').button('Click me!').to_s
|
103
|
+
@driver.find(@query).first.value.should == 'John'
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe '#text_area' do
|
108
|
+
it "should find a text area by id or label" do
|
109
|
+
@query = @xpath.text_area('form_description').to_s
|
110
|
+
@driver.find(@query).first.text.should == 'Descriptive text goes here'
|
111
|
+
@query = @xpath.text_area('Description').to_s
|
112
|
+
@driver.find(@query).first.text.should == 'Descriptive text goes here'
|
113
|
+
end
|
114
|
+
|
115
|
+
it "should be chainable" do
|
116
|
+
@query = @xpath.text_area('Description').button('Click me!').to_s
|
117
|
+
@driver.find(@query).first.text.should == 'Descriptive text goes here'
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
describe '#button' do
|
122
|
+
it "should find a button by id or content" do
|
123
|
+
@query = @xpath.button('awe123').to_s
|
124
|
+
@driver.find(@query).first.value.should == 'awesome'
|
125
|
+
@query = @xpath.button('okay556').to_s
|
126
|
+
@driver.find(@query).first.value.should == 'okay'
|
127
|
+
@query = @xpath.button('click_me_123').to_s
|
128
|
+
@driver.find(@query).first.value.should == 'click_me'
|
129
|
+
@query = @xpath.button('Click me!').to_s
|
130
|
+
@driver.find(@query).first.value.should == 'click_me'
|
131
|
+
@query = @xpath.button('fresh_btn').to_s
|
132
|
+
@driver.find(@query).first.value.should == 'i am fresh'
|
133
|
+
@query = @xpath.button('i am fresh').to_s
|
134
|
+
@driver.find(@query).first[:name].should == 'form[fresh]'
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
describe '#radio_button' do
|
139
|
+
it "should find a radio button by id or label" do
|
140
|
+
@query = @xpath.radio_button('Male').to_s
|
141
|
+
@driver.find(@query).first.value.should == 'male'
|
142
|
+
@query = @xpath.radio_button('gender_male').to_s
|
143
|
+
@driver.find(@query).first.value.should == 'male'
|
144
|
+
end
|
145
|
+
|
146
|
+
it "should be chainable" do
|
147
|
+
@query = @xpath.radio_button('Male').button('Click me!').to_s
|
148
|
+
@driver.find(@query).first.value.should == 'male'
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
describe '#checkbox' do
|
153
|
+
it "should find a checkbox by id or label" do
|
154
|
+
@query = @xpath.checkbox('Cat').to_s
|
155
|
+
@driver.find(@query).first.value.should == 'cat'
|
156
|
+
@query = @xpath.checkbox('form_pets_cat').to_s
|
157
|
+
@driver.find(@query).first.value.should == 'cat'
|
158
|
+
end
|
159
|
+
|
160
|
+
it "should be chainable" do
|
161
|
+
@query = @xpath.checkbox('Cat').button('Click me!').to_s
|
162
|
+
@driver.find(@query).first.value.should == 'cat'
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
describe '#select' do
|
167
|
+
it "should find a select by id or label" do
|
168
|
+
@query = @xpath.select('Region').to_s
|
169
|
+
@driver.find(@query).first[:name].should == 'form[region]'
|
170
|
+
@query = @xpath.select('form_region').to_s
|
171
|
+
@driver.find(@query).first[:name].should == 'form[region]'
|
172
|
+
end
|
173
|
+
|
174
|
+
it "should be chainable" do
|
175
|
+
@query = @xpath.select('Region').button('Click me!').to_s
|
176
|
+
@driver.find(@query).first[:name].should == 'form[region]'
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
end
|
metadata
ADDED
@@ -0,0 +1,245 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: katzil-capybara
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 8
|
9
|
+
version: 0.3.8
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Ilya Katz
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain:
|
16
|
+
- |
|
17
|
+
-----BEGIN CERTIFICATE-----
|
18
|
+
MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhpbHlh
|
19
|
+
a2F0ejEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
20
|
+
MB4XDTEwMDUyMDE2NTE0MloXDTExMDUyMDE2NTE0MlowPzERMA8GA1UEAwwIaWx5
|
21
|
+
YWthdHoxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
22
|
+
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAND8u3LpyxveSMtN5kjN
|
23
|
+
F9q9rUIqF3s+sevTDyA1SyR9PtEDNUwfpIJKJGcFU2jOsLk0gfRD/KYvPjX5Z+E/
|
24
|
+
ZHGJ7skaVo3DU4M2XDToMSbAOY88SFyPYgm2Clk1uZPrySaA3o8PegME4lDrSekP
|
25
|
+
jJYbsGxCLJO9zQJI5Zj6+JgGaqdgvVsnR7tpVI8BgOMhtHhqJvH7aov+hHMAOv4X
|
26
|
+
c5XC1M/3c18pPG0LDiivUXkV+T2Un19XKhPoqLcmHM8diRBD02Lz9S+PSkj44EFs
|
27
|
+
Qbe4TaZMR1mgjoXs0f+iqlJtVQPHkUVYMbDIDFV/dtAbrqr9hLx/sA6r6OfIBWyZ
|
28
|
+
Su8CAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFDBP
|
29
|
+
dYIDpscfkziGs/ERR4FOZ2N2MA0GCSqGSIb3DQEBBQUAA4IBAQBczmTcfzqhXnL0
|
30
|
+
U4N7H3HFGK/2Z8ch1gVkfKrNm6gfXNGXTw+OE8NJO28s77SAqoDmw+Zj4OoQATg3
|
31
|
+
3OAcDiclA/64OMhSwjMkE/0xa0xOaWIoeUTmK3vw67jvfUxjhIau2R+ZQ6Y1R16O
|
32
|
+
7K53y52TQj7WQPKajex+6k4bJpo/ktqVgh+1Rzp6ngHXOtJczqQKRFiaJDrMHJti
|
33
|
+
0mA9iimtl8KZsBtSeh3PueWoV5f+9zxtt+4/bwDV5i5OZBTyLQAgCPUUGUN43G6S
|
34
|
+
WHUg4+cz0/csH0t1R7Y1OgF13TX7LWR79pH2XaCcelHPR+pHZtf4HeP2BJpZZ9s3
|
35
|
+
Fb/kPqkR
|
36
|
+
-----END CERTIFICATE-----
|
37
|
+
|
38
|
+
date: 2010-05-20 00:00:00 -04:00
|
39
|
+
default_executable:
|
40
|
+
dependencies: []
|
41
|
+
|
42
|
+
description: A fork for capybara project
|
43
|
+
email: ilyakatz @nospam@ gmail dot com
|
44
|
+
executables: []
|
45
|
+
|
46
|
+
extensions: []
|
47
|
+
|
48
|
+
extra_rdoc_files:
|
49
|
+
- README.rdoc
|
50
|
+
- lib/capybara.rb
|
51
|
+
- lib/capybara/cucumber.rb
|
52
|
+
- lib/capybara/driver/base.rb
|
53
|
+
- lib/capybara/driver/celerity_driver.rb
|
54
|
+
- lib/capybara/driver/culerity_driver.rb
|
55
|
+
- lib/capybara/driver/rack_test_driver.rb
|
56
|
+
- lib/capybara/driver/selenium_driver.rb
|
57
|
+
- lib/capybara/dsl.rb
|
58
|
+
- lib/capybara/node.rb
|
59
|
+
- lib/capybara/rails.rb
|
60
|
+
- lib/capybara/save_and_open_page.rb
|
61
|
+
- lib/capybara/searchable.rb
|
62
|
+
- lib/capybara/server.rb
|
63
|
+
- lib/capybara/server.rb.orig
|
64
|
+
- lib/capybara/session.rb
|
65
|
+
- lib/capybara/spec/driver.rb
|
66
|
+
- lib/capybara/spec/fixtures/capybara.jpg
|
67
|
+
- lib/capybara/spec/fixtures/test_file.txt
|
68
|
+
- lib/capybara/spec/public/jquery-ui.js
|
69
|
+
- lib/capybara/spec/public/jquery.js
|
70
|
+
- lib/capybara/spec/public/test.js
|
71
|
+
- lib/capybara/spec/session.rb
|
72
|
+
- lib/capybara/spec/session/all_spec.rb
|
73
|
+
- lib/capybara/spec/session/attach_file_spec.rb
|
74
|
+
- lib/capybara/spec/session/check_spec.rb
|
75
|
+
- lib/capybara/spec/session/choose_spec.rb
|
76
|
+
- lib/capybara/spec/session/click_button_spec.rb
|
77
|
+
- lib/capybara/spec/session/click_link_spec.rb
|
78
|
+
- lib/capybara/spec/session/click_spec.rb
|
79
|
+
- lib/capybara/spec/session/current_url_spec.rb
|
80
|
+
- lib/capybara/spec/session/fill_in_spec.rb
|
81
|
+
- lib/capybara/spec/session/find_button_spec.rb
|
82
|
+
- lib/capybara/spec/session/find_by_id_spec.rb
|
83
|
+
- lib/capybara/spec/session/find_field_spec.rb
|
84
|
+
- lib/capybara/spec/session/find_link_spec.rb
|
85
|
+
- lib/capybara/spec/session/find_spec.rb
|
86
|
+
- lib/capybara/spec/session/has_button_spec.rb
|
87
|
+
- lib/capybara/spec/session/has_content_spec.rb
|
88
|
+
- lib/capybara/spec/session/has_css_spec.rb
|
89
|
+
- lib/capybara/spec/session/has_field_spec.rb
|
90
|
+
- lib/capybara/spec/session/has_link_spec.rb
|
91
|
+
- lib/capybara/spec/session/has_select_spec.rb
|
92
|
+
- lib/capybara/spec/session/has_table_spec.rb
|
93
|
+
- lib/capybara/spec/session/has_xpath_spec.rb
|
94
|
+
- lib/capybara/spec/session/headers.rb
|
95
|
+
- lib/capybara/spec/session/javascript.rb
|
96
|
+
- lib/capybara/spec/session/locate_spec.rb
|
97
|
+
- lib/capybara/spec/session/select_spec.rb
|
98
|
+
- lib/capybara/spec/session/uncheck_spec.rb
|
99
|
+
- lib/capybara/spec/session/unselect_spec.rb
|
100
|
+
- lib/capybara/spec/session/within_spec.rb
|
101
|
+
- lib/capybara/spec/test_app.rb
|
102
|
+
- lib/capybara/spec/views/buttons.erb
|
103
|
+
- lib/capybara/spec/views/fieldsets.erb
|
104
|
+
- lib/capybara/spec/views/form.erb
|
105
|
+
- lib/capybara/spec/views/frame_one.erb
|
106
|
+
- lib/capybara/spec/views/frame_two.erb
|
107
|
+
- lib/capybara/spec/views/postback.erb
|
108
|
+
- lib/capybara/spec/views/tables.erb
|
109
|
+
- lib/capybara/spec/views/with_html.erb
|
110
|
+
- lib/capybara/spec/views/with_js.erb
|
111
|
+
- lib/capybara/spec/views/with_scope.erb
|
112
|
+
- lib/capybara/spec/views/with_simple_html.erb
|
113
|
+
- lib/capybara/spec/views/within_frames.erb
|
114
|
+
- lib/capybara/version.rb
|
115
|
+
- lib/capybara/wait_until.rb
|
116
|
+
- lib/capybara/xpath.rb
|
117
|
+
files:
|
118
|
+
- History.txt
|
119
|
+
- Manifest
|
120
|
+
- README.rdoc
|
121
|
+
- Rakefile
|
122
|
+
- lib/capybara.rb
|
123
|
+
- lib/capybara/cucumber.rb
|
124
|
+
- lib/capybara/driver/base.rb
|
125
|
+
- lib/capybara/driver/celerity_driver.rb
|
126
|
+
- lib/capybara/driver/culerity_driver.rb
|
127
|
+
- lib/capybara/driver/rack_test_driver.rb
|
128
|
+
- lib/capybara/driver/selenium_driver.rb
|
129
|
+
- lib/capybara/dsl.rb
|
130
|
+
- lib/capybara/node.rb
|
131
|
+
- lib/capybara/rails.rb
|
132
|
+
- lib/capybara/save_and_open_page.rb
|
133
|
+
- lib/capybara/searchable.rb
|
134
|
+
- lib/capybara/server.rb
|
135
|
+
- lib/capybara/server.rb.orig
|
136
|
+
- lib/capybara/session.rb
|
137
|
+
- lib/capybara/spec/driver.rb
|
138
|
+
- lib/capybara/spec/fixtures/capybara.jpg
|
139
|
+
- lib/capybara/spec/fixtures/test_file.txt
|
140
|
+
- lib/capybara/spec/public/jquery-ui.js
|
141
|
+
- lib/capybara/spec/public/jquery.js
|
142
|
+
- lib/capybara/spec/public/test.js
|
143
|
+
- lib/capybara/spec/session.rb
|
144
|
+
- lib/capybara/spec/session/all_spec.rb
|
145
|
+
- lib/capybara/spec/session/attach_file_spec.rb
|
146
|
+
- lib/capybara/spec/session/check_spec.rb
|
147
|
+
- lib/capybara/spec/session/choose_spec.rb
|
148
|
+
- lib/capybara/spec/session/click_button_spec.rb
|
149
|
+
- lib/capybara/spec/session/click_link_spec.rb
|
150
|
+
- lib/capybara/spec/session/click_spec.rb
|
151
|
+
- lib/capybara/spec/session/current_url_spec.rb
|
152
|
+
- lib/capybara/spec/session/fill_in_spec.rb
|
153
|
+
- lib/capybara/spec/session/find_button_spec.rb
|
154
|
+
- lib/capybara/spec/session/find_by_id_spec.rb
|
155
|
+
- lib/capybara/spec/session/find_field_spec.rb
|
156
|
+
- lib/capybara/spec/session/find_link_spec.rb
|
157
|
+
- lib/capybara/spec/session/find_spec.rb
|
158
|
+
- lib/capybara/spec/session/has_button_spec.rb
|
159
|
+
- lib/capybara/spec/session/has_content_spec.rb
|
160
|
+
- lib/capybara/spec/session/has_css_spec.rb
|
161
|
+
- lib/capybara/spec/session/has_field_spec.rb
|
162
|
+
- lib/capybara/spec/session/has_link_spec.rb
|
163
|
+
- lib/capybara/spec/session/has_select_spec.rb
|
164
|
+
- lib/capybara/spec/session/has_table_spec.rb
|
165
|
+
- lib/capybara/spec/session/has_xpath_spec.rb
|
166
|
+
- lib/capybara/spec/session/headers.rb
|
167
|
+
- lib/capybara/spec/session/javascript.rb
|
168
|
+
- lib/capybara/spec/session/locate_spec.rb
|
169
|
+
- lib/capybara/spec/session/select_spec.rb
|
170
|
+
- lib/capybara/spec/session/uncheck_spec.rb
|
171
|
+
- lib/capybara/spec/session/unselect_spec.rb
|
172
|
+
- lib/capybara/spec/session/within_spec.rb
|
173
|
+
- lib/capybara/spec/test_app.rb
|
174
|
+
- lib/capybara/spec/views/buttons.erb
|
175
|
+
- lib/capybara/spec/views/fieldsets.erb
|
176
|
+
- lib/capybara/spec/views/form.erb
|
177
|
+
- lib/capybara/spec/views/frame_one.erb
|
178
|
+
- lib/capybara/spec/views/frame_two.erb
|
179
|
+
- lib/capybara/spec/views/postback.erb
|
180
|
+
- lib/capybara/spec/views/tables.erb
|
181
|
+
- lib/capybara/spec/views/with_html.erb
|
182
|
+
- lib/capybara/spec/views/with_js.erb
|
183
|
+
- lib/capybara/spec/views/with_scope.erb
|
184
|
+
- lib/capybara/spec/views/with_simple_html.erb
|
185
|
+
- lib/capybara/spec/views/within_frames.erb
|
186
|
+
- lib/capybara/version.rb
|
187
|
+
- lib/capybara/wait_until.rb
|
188
|
+
- lib/capybara/xpath.rb
|
189
|
+
- spec/capybara_spec.rb
|
190
|
+
- spec/driver/celerity_driver_spec.rb
|
191
|
+
- spec/driver/culerity_driver_spec.rb
|
192
|
+
- spec/driver/rack_test_driver_spec.rb
|
193
|
+
- spec/driver/remote_culerity_driver_spec.rb
|
194
|
+
- spec/driver/remote_selenium_driver_spec.rb
|
195
|
+
- spec/driver/selenium_driver_spec.rb
|
196
|
+
- spec/dsl_spec.rb
|
197
|
+
- spec/save_and_open_page_spec.rb
|
198
|
+
- spec/searchable_spec.rb
|
199
|
+
- spec/server_spec.rb
|
200
|
+
- spec/session/celerity_session_spec.rb
|
201
|
+
- spec/session/culerity_session_spec.rb
|
202
|
+
- spec/session/rack_test_session_spec.rb
|
203
|
+
- spec/session/selenium_session_spec.rb
|
204
|
+
- spec/spec_helper.rb
|
205
|
+
- spec/wait_until_spec.rb
|
206
|
+
- spec/xpath_spec.rb
|
207
|
+
- katzil-capybara.gemspec
|
208
|
+
has_rdoc: true
|
209
|
+
homepage: http://github.com/ilyakatz/tests
|
210
|
+
licenses: []
|
211
|
+
|
212
|
+
post_install_message:
|
213
|
+
rdoc_options:
|
214
|
+
- --line-numbers
|
215
|
+
- --inline-source
|
216
|
+
- --title
|
217
|
+
- Katzil-capybara
|
218
|
+
- --main
|
219
|
+
- README.rdoc
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
segments:
|
227
|
+
- 0
|
228
|
+
version: "0"
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
segments:
|
234
|
+
- 1
|
235
|
+
- 2
|
236
|
+
version: "1.2"
|
237
|
+
requirements: []
|
238
|
+
|
239
|
+
rubyforge_project: katzil-capybara
|
240
|
+
rubygems_version: 1.3.6
|
241
|
+
signing_key:
|
242
|
+
specification_version: 3
|
243
|
+
summary: A fix to capybara gem
|
244
|
+
test_files: []
|
245
|
+
|