capybara_minitest_spec 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,365 +0,0 @@
1
- <h1>Form</h1>
2
-
3
- <form action="/form" method="post">
4
-
5
- <p>
6
- <label for="form_title">Title</label>
7
- <select name="form[title]" id="form_title">
8
- <option>Mrs</option>
9
- <option>Mr</option>
10
- <option>Miss</option>
11
- </select>
12
- </p>
13
-
14
-
15
- <p>
16
- <label for="form_other_title">Other title</label>
17
- <select name="form[other_title]" id="form_other_title">
18
- <option>Mrs</option>
19
- <option>Mr</option>
20
- <option>Miss</option>
21
- </select>
22
- </p>
23
-
24
- <p>
25
- <label for="form_first_name">
26
- First Name
27
- <input type="text" name="form[first_name]" value="John" id="form_first_name"/>
28
- </label>
29
- </p>
30
-
31
- <p>
32
- <label for="form_last_name">Last Name</label>
33
- <input type="text" name="form[last_name]" value="Smith" id="form_last_name"/>
34
- </p>
35
-
36
- <p>
37
- <label for="form_name_explanation">Explanation of Name</label>
38
- <textarea name="form[name_explanation]" id="form_name_explanation"></textarea>
39
- </p>
40
-
41
- <p>
42
- <label for="form_name">Name</label>
43
- <input type="text" name="form[name]" value="John Smith" id="form_name"/>
44
- </p>
45
-
46
- <p>
47
- <label for="form_schmooo">Schmooo</label>
48
- <input type="schmooo" name="form[schmooo]" value="This is Schmooo!" id="form_schmooo"/>
49
- </p>
50
-
51
- <p>
52
- <label>Street<br/>
53
- <input type="text" maxlength="" name="form[street]" value="Sesame street 66"/>
54
- </label>
55
- </p>
56
-
57
- <p>
58
- <label for="form_phone">Phone</label>
59
- <input name="form[phone]" value="+1 555 7021" id="form_phone"/>
60
- </p>
61
-
62
- <p>
63
- <label for="form_password">Password</label>
64
- <input type="password" name="form[password]" value="seeekrit" id="form_password"/>
65
- </p>
66
-
67
- <p>
68
- <label for="form_terms_of_use">Terms of Use</label>
69
- <input type="hidden" name="form[terms_of_use]" value="0" id="form_terms_of_use_default">
70
- <input type="checkbox" name="form[terms_of_use]" value="1" id="form_terms_of_use">
71
- </p>
72
-
73
- <p>
74
- <label for="form_image">Image</label>
75
- <input type="file" name="form[image]" id="form_image"/>
76
- </p>
77
-
78
- <p>
79
- <input type="hidden" name="form[token]" value="12345" id="form_token"/>
80
- </p>
81
-
82
- <p>
83
- <label for="form_locale">Locale</label>
84
- <select name="form[locale]" id="form_locale">
85
- <option value="sv">Swedish</option>
86
- <option selected="selected" value="en">English</option>
87
- <option value="fi">Finish</option>
88
- <option value="no">Norwegian</option>
89
- <option value="jo">John's made-up language</option>
90
- <option value="jbo"> Lojban </option>
91
- </select>
92
- </p>
93
-
94
- <p>
95
- <label for="form_region">Region</label>
96
- <select name="form[region]" id="form_region">
97
- <option>Sweden</option>
98
- <option selected="selected">Norway</option>
99
- <option>Finland</option>
100
- </select>
101
- </p>
102
-
103
- <p>
104
- <label for="form_city">City</label>
105
- <select name="form[city]" id="form_city">
106
- <option>London</option>
107
- <option>Stockholm</option>
108
- <option>Paris</option>
109
- </select>
110
- </p>
111
-
112
- <p>
113
- <label for="form_zipcode">Zipcode</label>
114
- <input type="text" maxlength="5" name="form[zipcode]" id="form_zipcode" />
115
- </p>
116
-
117
- <p>
118
- <label for="form_tendency">Tendency</label>
119
- <select name="form[tendency]" id="form_tendency"></select>
120
- </p>
121
-
122
- <p>
123
- <label for="form_description">Description</label></br>
124
- <textarea name="form[description]" id="form_description">Descriptive text goes here</textarea>
125
- <p>
126
-
127
- <p>
128
- <input type="radio" name="form[gender]" value="male" id="gender_male"/>
129
- <label for="gender_male">Male</label>
130
- <input type="radio" name="form[gender]" value="female" id="gender_female" checked="checked"/>
131
- <label for="gender_female">Female</label>
132
- <input type="radio" name="form[gender]" value="both" id="gender_both"/>
133
- <label for="gender_both">Both</label>
134
- </p>
135
-
136
- <p>
137
- <input type="checkbox" value="dog" name="form[pets][]" id="form_pets_dog" checked="checked"/>
138
- <label for="form_pets_dog">Dog</label>
139
- <input type="checkbox" value="cat" name="form[pets][]" id="form_pets_cat"/>
140
- <label for="form_pets_cat">Cat</label>
141
- <input type="checkbox" value="hamster" name="form[pets][]" id="form_pets_hamster" checked="checked"/>
142
- <label for="form_pets_hamster">Hamster</label>
143
- </p>
144
-
145
- <p>
146
- <label for="form_languages">Languages</label>
147
- <select name="form[languages][]" id="form_languages" multiple="multiple">
148
- <option>Ruby</option>
149
- <option>SQL</option>
150
- <option>HTML</option>
151
- <option>Javascript</option>
152
- </select>
153
- </p>
154
-
155
- <p>
156
- <label for="form_underwear">Underwear</label>
157
- <select name="form[underwear][]" id="form_underwear" multiple="multiple">
158
- <option selected="selected">Boxer Briefs</option>
159
- <option>Boxers</option>
160
- <option selected="selected">Briefs</option>
161
- <option selected="selected">Commando</option>
162
- <option selected="selected">Frenchman's Pantalons</option>
163
- <option selected="selected" value="thermal">Long Johns</option>
164
- </select>
165
- </p>
166
-
167
- <p>
168
- <span>First address<span>
169
- <label for='address1_street'>Street</label>
170
- <input type="text" name="form[addresses][][street]" value="" id="address1_street">
171
-
172
- <label for='address1_city'>City</label>
173
- <input type="text" name="form[addresses][][city]" value="" id="address1_city">
174
-
175
- <label for='address1_country'>Country</label>
176
- <select name="form[addresses][][country]" id="address1_country">
177
- <option>France</option>
178
- <option>Ukraine</option>
179
- </select>
180
- </p>
181
-
182
- <p>
183
- <span>Second address<span>
184
- <label for='address2_street'>Street</label>
185
- <input type="text" name="form[addresses][][street]" value="" id="address2_street">
186
-
187
- <label for='address2_city'>City</label>
188
- <input type="text" name="form[addresses][][city]" value="" id="address2_city">
189
-
190
- <label for='address2_country'>Country</label>
191
- <select name="form[addresses][][country]" id="address2_country">
192
- <option>France</option>
193
- <option>Ukraine</option>
194
- </select>
195
- </p>
196
-
197
- <div style="display:none;">
198
- <label for="form_first_name_hidden">
199
- Super Secret
200
- <input type="text" name="form[super_secret]" value="test123" id="form_super_secret"/>
201
- </label>
202
- </div>
203
-
204
- <p>
205
- <label for="form_disabled_text_field">
206
- Disabled Text Field
207
- <input type="text" name="form[disabled_text_field]" value="Should not see me" id="form_disabled_text_field" disabled="disabled" />
208
- </label>
209
- </p>
210
-
211
- <p>
212
- <label for="form_disabled_textarea">
213
- Disabled Textarea
214
- <textarea name="form[disabled_textarea]" value="Should not see me" id="form_disabled_textarea" disabled="disabled"></textarea>
215
- </label>
216
- </p>
217
-
218
- <p>
219
- <label for="form_disabled_checkbox">
220
- Disabled Checkbox
221
- <input type="checkbox" name="form[disabled_checkbox]" value="Should not see me" id="form_disabled_checkbox" checked="checked" disabled="disabled" />
222
- </label>
223
- </p>
224
-
225
- <p>
226
- <label for="form_disabled_radio">
227
- Disabled Radio
228
- <input type="radio" name="form[disabled_radio]" value="Should not see me" id="form_disabled_radio" checked="checked" disabled="disabled" />
229
- </label>
230
- </p>
231
-
232
- <p>
233
- <label for="form_disabled_select">
234
- Disabled Select
235
- <select name="form[disabled_select]" id="form_disabled_select" disabled="disabled">
236
- <option value="Should not see me" selected="selected">Should not see me</option>
237
- </select>
238
- </label>
239
- </p>
240
-
241
- <p>
242
- <label for="form_disabled_file">
243
- Disabled File
244
- <input type="file" name="form[disabled_file]" value="/should/not/see/me" id="form_disabled_file" disabled="disabled" />
245
- </label>
246
- </p>
247
-
248
- <p>
249
- <input type="button" name="form[fresh]" id="fresh_btn" value="i am fresh"/>
250
- <input type="submit" name="form[awesome]" id="awe123" title="What an Awesome Button" value="awesome"/>
251
- <input type="submit" name="form[crappy]" id="crap321" value="crappy"/>
252
- <input type="image" name="form[okay]" id="okay556" title="Okay 556 Image" value="okay" alt="oh hai thar"/>
253
- <button type="submit" id="click_me_123" title="Click Title button" value="click_me">Click me!</button>
254
- <button type="submit" name="form[no_value]">No Value!</button>
255
- <button id="no_type">No Type!</button>
256
- </p>
257
- </form>
258
-
259
- <form id="get-form" action="/form/get?foo=bar" method="get">
260
- <p>
261
- <label for="form_middle_name">Middle Name</label>
262
- <input type="text" name="form[middle_name]" value="Darren" id="form_middle_name"/>
263
- </p>
264
-
265
- <p>
266
- <input type="submit" name="form[mediocre]" id="mediocre" value="med"/>
267
- <p>
268
- </form>
269
-
270
- <form action="/upload_empty" method="post" enctype="multipart/form-data">
271
- <p>
272
- <label for="form_file_name">File Name</label>
273
- <input type="file" name="form[file]" id="form_file"/>
274
- </p>
275
-
276
- <p>
277
- <input type="submit" value="Upload Empty"/>
278
- <p>
279
- </form>
280
-
281
- <form action="/upload" method="post" enctype="multipart/form-data">
282
- <p>
283
- <label for="form_file_name">File Name</label>
284
- <input type="file" name="form[file_name]" id="form_file_name"/>
285
- </p>
286
-
287
- <p>
288
- <label for="form_document">Document</label>
289
- <input type="file" name="form[document]" id="form_document"/>
290
- </p>
291
-
292
- <p>
293
- <input type="submit" value="Upload"/>
294
- <p>
295
- </form>
296
-
297
- <form action="/upload_multiple" method="post" enctype="multipart/form-data">
298
- <p>
299
- <label for="form_multiple_file_name">File Name</label>
300
- <input type="file" name="form[multiple_file_name]" id="form_multiple_file_name"/>
301
- </p>
302
-
303
- <p>
304
- <label for="form_multiple_documents">Multiple Documents</label>
305
- <input type="file" name="form[multiple_documents][]" id="form_multiple_documents" multiple />
306
- </p>
307
-
308
- <p>
309
- <input type="submit" value="Upload Multiple"/>
310
- <p>
311
- </form>
312
-
313
- <form action="/redirect" method="post">
314
- <p>
315
- <input type="submit" value="Go FAR"/>
316
- </p>
317
- </form>
318
-
319
- <form action="/form" method="post">
320
- <p>
321
- <label for="html5_email">Html5 Email</label>
322
- <input type="email" name="form[html5_email]" value="person@email.com" id="html5_email"/>
323
- </p>
324
- <p>
325
- <label for="html5_url">Html5 Url</label>
326
- <input type="url" name="form[html5_url]" value="http://www.example.com" id="html5_url"/>
327
- </p>
328
- <p>
329
- <label for="html5_search">Html5 Search</label>
330
- <input type="search" name="form[html5_search]" value="what are you looking for" id="html5_search"/>
331
- </p>
332
- <p>
333
- <label for="html5_tel">Html5 Tel</label>
334
- <input type="tel" name="form[html5_tel]" value="911" id="html5_tel"/>
335
- </p>
336
- <p>
337
- <label for="html5_color">Html5 Color</label>
338
- <input type="color" name="form[html5_color]" value="#FFFFFF" id="html5_color"/>
339
- </p>
340
-
341
- <p>
342
- <input type="submit" name="form[html5_submit]" value="html5_submit"/>
343
- </p>
344
- </form>
345
-
346
- <form action="/form" method="post">
347
- <p>
348
- <button type="submit" name="form[button]" value="button_first">Just an input that came first</button>
349
- <button type="submit" name="form[button]" value="button_second">Just an input</button>
350
- <input type="submit" name="form[button]" value="Just a button that came first"/>
351
- <input type="submit" name="form[button]" value="Just a button"/>
352
- </p>
353
- </form>
354
-
355
- <form action="relative" method="post">
356
- <p>
357
- <input type="submit" name="form[relative]" value="Relative Action" />
358
- </p>
359
- </form>
360
-
361
- <form method="post">
362
- <p>
363
- <input type="submit" name="form[no_action]" value="No Action" />
364
- </p>
365
- </form>
@@ -1,8 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This is the title of frame one</title>
4
- </head>
5
- <body>
6
- <div id="divInFrameOne">This is the text of divInFrameOne</div>
7
- </body>
8
- </html>
@@ -1,8 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This is the title of frame two</title>
4
- </head>
5
- <body>
6
- <div id="divInFrameTwo">This is the text of divInFrameTwo</div>
7
- </body>
8
- </html>
@@ -1,7 +0,0 @@
1
- <p>
2
- <a href="/get_header">Link</a>
3
- </p>
4
-
5
- <form action="/get_header" method="get">
6
- <p><input type="submit" value="Post"/></p>
7
- </form>
@@ -1,12 +0,0 @@
1
- <p>
2
- <a href="/host">Relative Host</a>
3
- <a href="http://capybara2.elabs.se/host">Absolute Host</a>
4
- </p>
5
-
6
- <form action="/host">
7
- <p><input type="submit" value="Relative Host"/></p>
8
- </form>
9
-
10
- <form action="http://capybara2.elabs.se/host">
11
- <p><input type="submit" value="Absolute Host"/></p>
12
- </form>
@@ -1,8 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This is the title of the first popup</title>
4
- </head>
5
- <body>
6
- <div id="divInPopupOne">This is the text of divInPopupOne</div>
7
- </body>
8
- </html>
@@ -1,8 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This is the title of popup two</title>
4
- </head>
5
- <body>
6
- <div id="divInPopupTwo">This is the text of divInPopupTwo</div>
7
- </body>
8
- </html>
@@ -1,13 +0,0 @@
1
- <h1>Postback</h1>
2
-
3
- <form method="get">
4
- <p>
5
- <input type="submit" value="With no action">
6
- </p>
7
- </form>
8
-
9
- <form action="" method="get">
10
- <p>
11
- <input type="submit" value="With blank action">
12
- </p>
13
- </form>
@@ -1,122 +0,0 @@
1
- <form action="/form" method="post">
2
- <table id="agent_table">
3
- <caption>Agent</caption>
4
-
5
- <tr>
6
- <td>
7
- <label for="form_agent_name">Name</label>
8
- </td>
9
- <td>
10
- <input type="text" name="form[agent_name]" value="James" id="form_agent_name"/>
11
- </td>
12
- </tr>
13
-
14
- <tr>
15
- <td colspan="2">
16
- <input type="submit" value="Create"/>
17
- </td>
18
- </tr>
19
- </table>
20
- </form>
21
-
22
- <form action="/form" method="post">
23
- <table id="girl_table">
24
- <caption>Girl</caption>
25
-
26
- <tr>
27
- <td>
28
- <label for="form_girl_name">Name</label>
29
- </td>
30
- <td>
31
- <input type="text" name="form[girl_name]" value="Vesper" id="form_girl_name"/>
32
- </td>
33
- </tr>
34
-
35
- <tr>
36
- <td colspan="2">
37
- <input type="submit" value="Create"/>
38
- </td>
39
- </tr>
40
- </table>
41
- </form>
42
-
43
- <form action="/form" method="post">
44
- <table id="villain_table">
45
- <caption>Villain</caption>
46
-
47
- <tr>
48
- <td>
49
- <label for="form_villain_name">Name</label>
50
- </td>
51
- <td>
52
- <input type="text" name="form[villain_name]" value="Ernst" id="form_villain_name"/>
53
- </td>
54
- </tr>
55
-
56
- <tr>
57
- <td colspan="2">
58
- <input type="submit" value="Create"/>
59
- </td>
60
- </tr>
61
- </table>
62
- </form>
63
-
64
- <table>
65
- <caption>Ransom</caption>
66
-
67
- <thead>
68
- <tr>
69
- <th>Year</th>
70
- <th>Governmental</th>
71
- <th>Private</th>
72
- </tr>
73
- </thead>
74
-
75
- <tbody>
76
- <tr>
77
- <th scope="row">2007</th>
78
- <td>$300</td>
79
- <td>$100</td>
80
- </tr>
81
- <tr>
82
- <th scope="row">2008</th>
83
- <td>$123</td>
84
- <td>$897</td>
85
- </tr>
86
- <tr>
87
- <th scope="row">2009</th>
88
- <td>$543</td>
89
- <td>$99</td>
90
- </tr>
91
- </tbody>
92
- </table>
93
-
94
- <table>
95
- <caption>Deaths</caption>
96
-
97
- <thead>
98
- <tr>
99
- <th>Year</th>
100
- <th>Sharks with lasers</th>
101
- <th>Flaming volcano</th>
102
- </tr>
103
- </thead>
104
-
105
- <tbody>
106
- <tr>
107
- <th scope="row">2007</th>
108
- <td>66</td>
109
- <td>7</td>
110
- </tr>
111
- <tr>
112
- <th scope="row">2008</th>
113
- <td>123</td>
114
- <td>12</td>
115
- </tr>
116
- <tr>
117
- <th scope="row">2009</th>
118
- <td>913</td>
119
- <td>13</td>
120
- </tr>
121
- </tbody>
122
- </table>
@@ -1,74 +0,0 @@
1
- <h1>This is a test</h1>
2
-
3
- <h2 class="no text"></h2>
4
- <h2 class="no text"></h2>
5
- <h2 class="head" id="h2one">Header Class Test One</h2>
6
- <h2 class="head" id="h2two">Header Class Test Two</h2>
7
- <h2 class="head">Header Class Test Three</h2>
8
- <h2 class="head">Header Class Test Four</h2>
9
- <h2 class="head">Header Class Test Five</h2>
10
-
11
- <p class="para" id="first">
12
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
13
- tempor incididunt ut <a href="/with_simple_html" title="awesome title" class="simple">labore</a>
14
- et dolore magna aliqua. Ut enim ad minim veniam,
15
- quis nostrud exercitation <a href="/foo" id="foo">ullamco</a> laboris nisi
16
- ut aliquip ex ea commodo consequat.
17
- <a href="/with_simple_html"><img width="20" height="20" alt="awesome image" /></a>
18
- </p>
19
-
20
- <p class="para" id="second">
21
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
22
- dolore eu fugiat <a href="/redirect" id="red">Redirect</a> pariatur. Excepteur sint occaecat cupidatat non proident,
23
- sunt in culpa qui officia
24
- text with
25
- whitespace
26
- id est laborum.
27
- </p>
28
-
29
- <p>
30
- <input type="text" id="test_field" value="monkey"/>
31
- <textarea>banana</textarea>
32
- <a href="/redirect_back">BackToMyself</a>
33
- <a title="twas a fine link" href="/redirect">A link came first</a>
34
- <a title="a fine link" href="/with_simple_html">A link</a>
35
- <a title="a fine link with data method" data-method="delete" href="/delete">A link with data-method</a>
36
- <a>No Href</a>
37
- <a href="">Blank Href</a>
38
- <a href="#">Blank Anchor</a>
39
- <a href="#anchor">Anchor</a>
40
- <a href="/with_simple_html#anchor">Anchor on different page</a>
41
- <a href="/with_html#anchor">Anchor on same page</a>
42
- <a href="with_html">Relative</a>
43
- <input type="text" value="" id="test_field">
44
- <input type="text" checked="checked" id="checked_field">
45
- <a href="/redirect"><img width="20" height="20" alt="very fine image" /></a>
46
- <a href="/with_simple_html"><img width="20" height="20" alt="fine image" /></a>
47
-
48
- <a href="?query_string=true">Naked Query String</a>
49
- <% if params[:query_string] %>
50
- <em>Query String sent</em>
51
- <% end %>
52
- </p>
53
-
54
- <div id="hidden" style="display: none;">
55
- <div id="hidden_via_ancestor">Inside element with hidden ancestor</div>
56
- <a href="/with_simple_html" title="awesome title" class="simple">hidden link</a>
57
- </div>
58
-
59
- <div style="display: none;">
60
- <a id="first_invisble" class="hidden">first hidden link</a>
61
- </div>
62
-
63
- <div style="display: none;">
64
- <a id="invisible" class="visibility hidden">hidden link</a>
65
- </div>
66
-
67
- <div>
68
- <a id="visible" class="visibility">visible link</a>
69
- </div>
70
-
71
- <ul>
72
- <li id="john_monkey">Monkey John</li>
73
- <li id="paul_monkey">Monkey Paul</li>
74
- </ul>
@@ -1 +0,0 @@
1
- Encoding with &mdash; html entities &raquo;