locator 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +10 -2
- data/TODO +4 -0
- data/lib/locator/boolean.rb +1 -1
- data/lib/locator/dom/nokogiri/element.rb +14 -5
- data/lib/locator/dom/nokogiri/page.rb +7 -3
- data/lib/locator/dom/nokogiri.rb +1 -1
- data/lib/locator/dom.rb +1 -1
- data/lib/locator/element/area.rb +2 -2
- data/lib/locator/element/button.rb +3 -3
- data/lib/locator/element/check_box.rb +9 -0
- data/lib/locator/element/elements_list.rb +6 -6
- data/lib/locator/element/field.rb +2 -3
- data/lib/locator/element/file.rb +9 -0
- data/lib/locator/element/form.rb +2 -2
- data/lib/locator/element/form_element.rb +9 -0
- data/lib/locator/element/hidden_field.rb +9 -0
- data/lib/locator/element/input.rb +11 -0
- data/lib/locator/element/label.rb +2 -2
- data/lib/locator/element/labeled_element.rb +8 -10
- data/lib/locator/element/link.rb +2 -2
- data/lib/locator/element/radio_button.rb +9 -0
- data/lib/locator/element/select.rb +3 -3
- data/lib/locator/element/select_option.rb +2 -2
- data/lib/locator/element/text_area.rb +3 -3
- data/lib/locator/element.rb +31 -24
- data/lib/locator/result.rb +46 -0
- data/lib/locator/version.rb +2 -2
- data/lib/locator/xpath.rb +33 -14
- data/lib/locator.rb +43 -21
- data/test/all.rb +1 -1
- data/test/locator/element/button_test.rb +10 -5
- data/test/locator/element/field_test.rb +24 -13
- data/test/locator/element/form_test.rb +12 -6
- data/test/locator/element/label_test.rb +10 -6
- data/test/locator/element/link_test.rb +16 -14
- data/test/locator/element/select_option_test.rb +14 -7
- data/test/locator/element/select_test.rb +10 -6
- data/test/locator/element/text_area_test.rb +10 -5
- data/test/locator/element_test.rb +79 -21
- data/test/locator/xpath_test.rb +0 -5
- data/test/locator_test.rb +63 -13
- data/test/test_helper.rb +0 -14
- metadata +11 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Fuchs
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-09 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -21,9 +21,11 @@ extensions: []
|
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- README.textile
|
24
|
+
- TODO
|
24
25
|
files:
|
25
26
|
- README.textile
|
26
27
|
- Rakefile
|
28
|
+
- TODO
|
27
29
|
- lib/core_ext/string/underscore.rb
|
28
30
|
- lib/locator.rb
|
29
31
|
- lib/locator/boolean.rb
|
@@ -34,15 +36,22 @@ files:
|
|
34
36
|
- lib/locator/element.rb
|
35
37
|
- lib/locator/element/area.rb
|
36
38
|
- lib/locator/element/button.rb
|
39
|
+
- lib/locator/element/check_box.rb
|
37
40
|
- lib/locator/element/elements_list.rb
|
38
41
|
- lib/locator/element/field.rb
|
42
|
+
- lib/locator/element/file.rb
|
39
43
|
- lib/locator/element/form.rb
|
44
|
+
- lib/locator/element/form_element.rb
|
45
|
+
- lib/locator/element/hidden_field.rb
|
46
|
+
- lib/locator/element/input.rb
|
40
47
|
- lib/locator/element/label.rb
|
41
48
|
- lib/locator/element/labeled_element.rb
|
42
49
|
- lib/locator/element/link.rb
|
50
|
+
- lib/locator/element/radio_button.rb
|
43
51
|
- lib/locator/element/select.rb
|
44
52
|
- lib/locator/element/select_option.rb
|
45
53
|
- lib/locator/element/text_area.rb
|
54
|
+
- lib/locator/result.rb
|
46
55
|
- lib/locator/version.rb
|
47
56
|
- lib/locator/xpath.rb
|
48
57
|
- test/all.rb
|