cello 0.0.12 → 0.0.16
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.
- data/.gitignore +2 -0
- data/Gemfile +5 -2
- data/README.md +44 -39
- data/Rakefile +5 -0
- data/cello.gemspec +6 -1
- data/examples/bugbang/pages/home.rb +1 -1
- data/features/access_element.feature +4 -4
- data/features/browser.feature +25 -0
- data/features/button.feature +4 -0
- data/features/dsl.feature +21 -0
- data/features/element.feature +9 -4
- data/features/get_html_attributes.feature +30 -0
- data/features/pages/firefox.rb +12 -0
- data/features/pages/input_fields.rb +10 -4
- data/features/pages/response_page.rb +17 -0
- data/features/radio.feature +85 -0
- data/features/select.feature +29 -0
- data/features/site/inputs.html +38 -0
- data/features/site/read_page.html +23 -0
- data/features/step_definitions/browser.rb +55 -0
- data/features/step_definitions/common_steps.rb +15 -3
- data/features/step_definitions/element.rb +6 -10
- data/features/step_definitions/html_attributes.rb +13 -0
- data/features/step_definitions/radio.rb +55 -0
- data/features/step_definitions/select.rb +39 -0
- data/features/step_definitions/textarea.rb +33 -8
- data/features/step_definitions/textfield.rb +46 -9
- data/features/textarea.feature +30 -4
- data/features/textfield.feature +36 -6
- data/lib/cello/structure/browser.rb +52 -0
- data/lib/cello/{button_helper.rb → structure/html_elements/button_helper.rb} +0 -0
- data/lib/cello/{Checkbox_helper.rb → structure/html_elements/checkbox_helper.rb} +0 -0
- data/lib/cello/{div_helper.rb → structure/html_elements/div_helper.rb} +0 -0
- data/lib/cello/structure/html_elements/dsl.rb +10 -0
- data/lib/cello/{element_helper.rb → structure/html_elements/element_helper.rb} +8 -3
- data/lib/cello/{hidden_helper.rb → structure/html_elements/hidden_helper.rb} +0 -0
- data/lib/cello/{link_helper.rb → structure/html_elements/link_helper.rb} +0 -0
- data/lib/cello/structure/html_elements/radio_helper.rb +55 -0
- data/lib/cello/structure/html_elements/select_helper.rb +27 -0
- data/lib/cello/{span_helper.rb → structure/html_elements/span_helper.rb} +0 -0
- data/lib/cello/{textarea_helper.rb → structure/html_elements/textarea_helper.rb} +7 -7
- data/lib/cello/{textfield_helper.rb → structure/html_elements/textfield_helper.rb} +6 -6
- data/lib/cello/structure/page.rb +19 -0
- data/lib/cello/version.rb +1 -1
- data/lib/cello.rb +4 -0
- data/spec/button_spec.rb +6 -0
- data/spec/checkbox_spec.rb +14 -0
- data/spec/div_spec.rb +6 -0
- data/spec/element_spec.rb +19 -0
- data/spec/hidden_spec.rb +6 -0
- data/spec/link_spec.rb +6 -0
- data/spec/page_spec.rb +20 -0
- data/spec/radio_spec.rb +18 -0
- data/spec/select_spec.rb +12 -0
- data/spec/span_spec.rb +6 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/textarea_spec.rb +24 -0
- data/spec/textfield_spec.rb +24 -0
- data/travis.yml +7 -0
- metadata +134 -24
- data/features/get_html_atributes.feature +0 -6
- data/lib/cello/config/cucumber_config.rb +0 -13
- data/lib/cello/page.rb +0 -44
- data/lib/cello/radio_helper.rb +0 -11
- data/lib/cello/select_helper.rb +0 -14
@@ -0,0 +1,55 @@
|
|
1
|
+
module Cello
|
2
|
+
module Structure
|
3
|
+
module RadioHelper
|
4
|
+
def define_extras_for_radios(name)
|
5
|
+
define_method "#{name}_is_real?" do
|
6
|
+
send(name).size > 0
|
7
|
+
end
|
8
|
+
define_method "#{name}_click" do
|
9
|
+
send(name)[0].click
|
10
|
+
end
|
11
|
+
define_method "#{name}_is_visible?" do
|
12
|
+
send(name).all? {|e| e.visible?}
|
13
|
+
end
|
14
|
+
define_method "#{name}_right_click" do
|
15
|
+
send(name)[0].right_click
|
16
|
+
end
|
17
|
+
define_method "#{name}_is_enable?" do
|
18
|
+
send(name).all? {|e| e.enabled?}
|
19
|
+
end
|
20
|
+
define_method "#{name}_contains" do |radio_value|
|
21
|
+
send(name).any? {|e| e.value == radio_value}
|
22
|
+
end
|
23
|
+
define_method "#{name}_has_selected_option?" do
|
24
|
+
send(name).any? {|e| e.checked? == true}
|
25
|
+
end
|
26
|
+
define_method "#{name}_set" do |radio_value|
|
27
|
+
send(name).each do |element|
|
28
|
+
element.value == radio_value ? element.set : nil
|
29
|
+
end
|
30
|
+
end
|
31
|
+
define_method "#{name}_checked_option_is?" do |radio_value|
|
32
|
+
foo = false
|
33
|
+
send(name).each do |element|
|
34
|
+
if (element.value == radio_value && element.checked?)
|
35
|
+
foo = true
|
36
|
+
end
|
37
|
+
end
|
38
|
+
return foo
|
39
|
+
end
|
40
|
+
define_method "#{name}_checked_option_is_not?" do |radio_value|
|
41
|
+
foo = false
|
42
|
+
send(name).each do |element|
|
43
|
+
if (element.value == radio_value && element.checked?)
|
44
|
+
foo = true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
return !foo
|
48
|
+
end
|
49
|
+
define_method "#{name}_checked_option?" do
|
50
|
+
send(name).each {|e| p e.value.size if (e.checked?) }
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Cello
|
2
|
+
module Structure
|
3
|
+
module SelectHelper
|
4
|
+
def define_extras_for_select(name)
|
5
|
+
define_method "#{name}_get_options" do
|
6
|
+
options = Array.new
|
7
|
+
send(name).options.each do |option|
|
8
|
+
options.push option.text
|
9
|
+
end
|
10
|
+
options
|
11
|
+
end
|
12
|
+
define_method "#{name}_select" do |option|
|
13
|
+
send(name).select option
|
14
|
+
end
|
15
|
+
define_method "#{name}_is" do |option|
|
16
|
+
send(name).selected_options.last.text == option
|
17
|
+
end
|
18
|
+
define_method "#{name}_selected" do
|
19
|
+
send(name).selected_options.last.text
|
20
|
+
end
|
21
|
+
# define_method "#{name}_clear" do
|
22
|
+
# send(name).clear
|
23
|
+
# end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Cello
|
2
2
|
module Structure
|
3
|
-
module
|
3
|
+
module TextareaHelper
|
4
4
|
def define_extras_for_textarea(name)
|
5
5
|
define_method "#{name}_is_enable?" do
|
6
6
|
!(send(name).disabled?)
|
@@ -9,25 +9,25 @@ module Cello
|
|
9
9
|
send(name).clear
|
10
10
|
end
|
11
11
|
define_method "#{name}_get_text" do
|
12
|
-
send(name).
|
12
|
+
send(name).value
|
13
13
|
end
|
14
14
|
define_method "#{name}_fill_with" do |text|
|
15
15
|
send(name).set text
|
16
16
|
end
|
17
17
|
define_method "#{name}_dont_contain" do |text|
|
18
|
-
!(send(name).
|
18
|
+
!(send(name).value.include? text)
|
19
19
|
end
|
20
20
|
define_method "#{name}_contains" do |text|
|
21
|
-
send(name).
|
21
|
+
send(name).value.include? text
|
22
22
|
end
|
23
23
|
define_method "#{name}_text_is" do |text|
|
24
|
-
send(name).
|
24
|
+
send(name).value == text
|
25
25
|
end
|
26
26
|
define_method "#{name}_is_empty?" do
|
27
|
-
send(name).
|
27
|
+
send(name).value.empty?
|
28
28
|
end
|
29
29
|
define_method "#{name}_text_size" do
|
30
|
-
send(name).
|
30
|
+
send(name).value.size
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -6,25 +6,25 @@ module Cello
|
|
6
6
|
send(name).clear
|
7
7
|
end
|
8
8
|
define_method "#{name}_get_text" do
|
9
|
-
send(name).
|
9
|
+
send(name).value
|
10
10
|
end
|
11
11
|
define_method "#{name}_fill_with" do |text|
|
12
12
|
send(name).set text
|
13
13
|
end
|
14
14
|
define_method "#{name}_dont_contain" do |text|
|
15
|
-
!(send(name).
|
15
|
+
!(send(name).value.include? text)
|
16
16
|
end
|
17
17
|
define_method "#{name}_contains" do |text|
|
18
|
-
send(name).
|
18
|
+
send(name).value.include? text
|
19
19
|
end
|
20
20
|
define_method "#{name}_text_is" do |text|
|
21
|
-
send(name).
|
21
|
+
send(name).value == text
|
22
22
|
end
|
23
23
|
define_method "#{name}_is_empty?" do
|
24
|
-
send(name).
|
24
|
+
send(name).value.empty?
|
25
25
|
end
|
26
26
|
define_method "#{name}_text_size" do
|
27
|
-
send(name).
|
27
|
+
send(name).value.size
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), "./html_elements/element_helper")
|
2
|
+
require "rubygems"
|
3
|
+
require "watir-webdriver"
|
4
|
+
require "rspec"
|
5
|
+
|
6
|
+
module Cello
|
7
|
+
module Structure
|
8
|
+
class Page
|
9
|
+
extend Cello::Structure::ElementHelper
|
10
|
+
|
11
|
+
attr_reader :parent
|
12
|
+
|
13
|
+
def initialize(parent)
|
14
|
+
@parent = parent
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
data/lib/cello/version.rb
CHANGED
data/lib/cello.rb
CHANGED
@@ -7,5 +7,9 @@ require 'selenium-webdriver'
|
|
7
7
|
require 'watir-webdriver'
|
8
8
|
require 'cucumber'
|
9
9
|
|
10
|
+
#internal dependences
|
11
|
+
require File.join(File.dirname(__FILE__), './cello/structure/page')
|
12
|
+
require File.join(File.dirname(__FILE__), './cello/structure/browser')
|
13
|
+
|
10
14
|
module Cello
|
11
15
|
end
|
data/spec/button_spec.rb
ADDED
data/spec/checkbox_spec.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/checkbox_helper.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::CheckboxHelper do
|
4
|
+
describe "define_extras_for_checkbox" do
|
5
|
+
it "Verify if there it is checked" do
|
6
|
+
end
|
7
|
+
it "Verify if there it is unchecked" do
|
8
|
+
end
|
9
|
+
it "Check a Checkbox" do
|
10
|
+
end
|
11
|
+
it "Clear a Checkbox" do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/spec/div_spec.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/element_helper.rb')
|
2
|
+
|
3
|
+
describe "Class with element" do
|
4
|
+
describe "Element interface" do
|
5
|
+
it "Verify if the element exists" do
|
6
|
+
end
|
7
|
+
it "Click on the element" do
|
8
|
+
end
|
9
|
+
it "Verify if the element is visible" do
|
10
|
+
end
|
11
|
+
it "Verify if the element is enable" do
|
12
|
+
end
|
13
|
+
it "Click with the right button on the element" do
|
14
|
+
end
|
15
|
+
it "Define extras for specific element" do
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
data/spec/hidden_spec.rb
ADDED
data/spec/link_spec.rb
ADDED
data/spec/page_spec.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/page.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::Page do
|
4
|
+
describe "Create a page" do
|
5
|
+
end
|
6
|
+
describe "Visit the page" do
|
7
|
+
end
|
8
|
+
describe "Seach a specific text on the page" do
|
9
|
+
end
|
10
|
+
describe "Close the browser" do
|
11
|
+
end
|
12
|
+
describe "Return the browser" do
|
13
|
+
end
|
14
|
+
describe "Get a picture of the page" do
|
15
|
+
end
|
16
|
+
describe "Get the title of the page" do
|
17
|
+
end
|
18
|
+
describe "Get the load time of the page" do
|
19
|
+
end
|
20
|
+
end
|
data/spec/radio_spec.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/radio_helper.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::RadioHelper do
|
4
|
+
describe "define_extras_for_radio" do
|
5
|
+
it "Verify if the radio collection contains an specific radio" do
|
6
|
+
end
|
7
|
+
it "Verify if some option is setted on the radio collection" do
|
8
|
+
end
|
9
|
+
it "Set on option on the radio collection" do
|
10
|
+
end
|
11
|
+
it "Verify if one specific option is setted on the radio collection" do
|
12
|
+
end
|
13
|
+
it "Verify if one specific option is not setted on the radio collection" do
|
14
|
+
end
|
15
|
+
it "Checked Option?" do
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/spec/select_spec.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/select_helper.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::SelectHelper do
|
4
|
+
describe "define_extras_for_select" do
|
5
|
+
it "Select an option" do
|
6
|
+
end
|
7
|
+
it "go to default or empty option" do
|
8
|
+
end
|
9
|
+
it "return the selected option" do
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/spec/span_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/textarea_helper.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::TextareaHelper do
|
4
|
+
describe "define_extras_for_textarea" do
|
5
|
+
it "Veify if the textarea is enabled" do
|
6
|
+
end
|
7
|
+
it "Clear the textarea" do
|
8
|
+
end
|
9
|
+
it "Get the text from the textarea" do
|
10
|
+
end
|
11
|
+
it "Fill the textarea with some specific text" do
|
12
|
+
end
|
13
|
+
it "Verify if the textarea does not contain some text" do
|
14
|
+
end
|
15
|
+
it "Verify if the textarea contains some text" do
|
16
|
+
end
|
17
|
+
it "Verify if the containt of the textarea is exacly some text" do
|
18
|
+
end
|
19
|
+
it "Verify if the textarea is empty" do
|
20
|
+
end
|
21
|
+
it "Get the size of the containt of the textarea" do
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '../lib/cello/structure/html_elements/textfield_helper.rb')
|
2
|
+
|
3
|
+
describe Cello::Structure::TextfieldHelper do
|
4
|
+
describe "define_extras_for_textfield" do
|
5
|
+
it "Veify if the textfield is enabled" do
|
6
|
+
end
|
7
|
+
it "Clear the textfield" do
|
8
|
+
end
|
9
|
+
it "Get the text from the textfield" do
|
10
|
+
end
|
11
|
+
it "Fill the textfield with some specific text" do
|
12
|
+
end
|
13
|
+
it "Verify if the textfield does not contain some text" do
|
14
|
+
end
|
15
|
+
it "Verify if the textfield contains some text" do
|
16
|
+
end
|
17
|
+
it "Verify if the containt of the textfield is exacly some text" do
|
18
|
+
end
|
19
|
+
it "Verify if the textfield is empty" do
|
20
|
+
end
|
21
|
+
it "Get the size of the containt of the textfield" do
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/travis.yml
ADDED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 16
|
9
|
+
version: 0.0.16
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Camilo Ribeiro
|
@@ -14,11 +14,11 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-
|
17
|
+
date: 2012-07-06 00:00:00 -03:00
|
18
18
|
default_executable: cello
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: simplecov
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
type: :development
|
31
31
|
version_requirements: *id001
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
|
-
name:
|
33
|
+
name: pry
|
34
34
|
prerelease: false
|
35
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
segments:
|
52
52
|
- 0
|
53
53
|
version: "0"
|
54
|
-
type: :
|
54
|
+
type: :development
|
55
55
|
version_requirements: *id003
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: watir-webdriver
|
@@ -63,10 +63,10 @@ dependencies:
|
|
63
63
|
segments:
|
64
64
|
- 0
|
65
65
|
version: "0"
|
66
|
-
type: :
|
66
|
+
type: :development
|
67
67
|
version_requirements: *id004
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
69
|
+
name: rake
|
70
70
|
prerelease: false
|
71
71
|
requirement: &id005 !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
@@ -75,8 +75,68 @@ dependencies:
|
|
75
75
|
segments:
|
76
76
|
- 0
|
77
77
|
version: "0"
|
78
|
-
type: :
|
78
|
+
type: :development
|
79
79
|
version_requirements: *id005
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rspec
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id006
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: headless
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
version: "0"
|
102
|
+
type: :development
|
103
|
+
version_requirements: *id007
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: cucumber
|
106
|
+
prerelease: false
|
107
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
segments:
|
112
|
+
- 0
|
113
|
+
version: "0"
|
114
|
+
type: :runtime
|
115
|
+
version_requirements: *id008
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: rspec
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
version: "0"
|
126
|
+
type: :runtime
|
127
|
+
version_requirements: *id009
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: watir-webdriver
|
130
|
+
prerelease: false
|
131
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
version: "0"
|
138
|
+
type: :runtime
|
139
|
+
version_requirements: *id010
|
80
140
|
description: Cello is a framework that allows automate acceptance tests using page-object
|
81
141
|
email:
|
82
142
|
- cribeiro@thoughtworks.com
|
@@ -99,38 +159,64 @@ files:
|
|
99
159
|
- examples/bugbang/flows/support/env.rb
|
100
160
|
- examples/bugbang/pages/home.rb
|
101
161
|
- features/access_element.feature
|
162
|
+
- features/browser.feature
|
163
|
+
- features/button.feature
|
102
164
|
- features/checkbox.feature
|
103
165
|
- features/choose_browser.feature
|
166
|
+
- features/dsl.feature
|
104
167
|
- features/element.feature
|
105
168
|
- features/fire_event.feature
|
106
|
-
- features/
|
169
|
+
- features/get_html_attributes.feature
|
170
|
+
- features/pages/firefox.rb
|
107
171
|
- features/pages/input_fields.rb
|
172
|
+
- features/pages/response_page.rb
|
173
|
+
- features/radio.feature
|
174
|
+
- features/select.feature
|
108
175
|
- features/site/inputs.html
|
176
|
+
- features/site/read_page.html
|
109
177
|
- features/step_definitions/access_element.rb
|
178
|
+
- features/step_definitions/browser.rb
|
110
179
|
- features/step_definitions/checkbox.rb
|
111
180
|
- features/step_definitions/common_steps.rb
|
112
181
|
- features/step_definitions/element.rb
|
182
|
+
- features/step_definitions/html_attributes.rb
|
183
|
+
- features/step_definitions/radio.rb
|
184
|
+
- features/step_definitions/select.rb
|
113
185
|
- features/step_definitions/textarea.rb
|
114
186
|
- features/step_definitions/textfield.rb
|
115
187
|
- features/support/env.rb
|
116
188
|
- features/textarea.feature
|
117
189
|
- features/textfield.feature
|
118
190
|
- lib/cello.rb
|
119
|
-
- lib/cello/
|
120
|
-
- lib/cello/button_helper.rb
|
121
|
-
- lib/cello/
|
122
|
-
- lib/cello/div_helper.rb
|
123
|
-
- lib/cello/
|
124
|
-
- lib/cello/
|
125
|
-
- lib/cello/
|
126
|
-
- lib/cello/
|
127
|
-
- lib/cello/radio_helper.rb
|
128
|
-
- lib/cello/select_helper.rb
|
129
|
-
- lib/cello/span_helper.rb
|
130
|
-
- lib/cello/textarea_helper.rb
|
131
|
-
- lib/cello/textfield_helper.rb
|
191
|
+
- lib/cello/structure/browser.rb
|
192
|
+
- lib/cello/structure/html_elements/button_helper.rb
|
193
|
+
- lib/cello/structure/html_elements/checkbox_helper.rb
|
194
|
+
- lib/cello/structure/html_elements/div_helper.rb
|
195
|
+
- lib/cello/structure/html_elements/dsl.rb
|
196
|
+
- lib/cello/structure/html_elements/element_helper.rb
|
197
|
+
- lib/cello/structure/html_elements/hidden_helper.rb
|
198
|
+
- lib/cello/structure/html_elements/link_helper.rb
|
199
|
+
- lib/cello/structure/html_elements/radio_helper.rb
|
200
|
+
- lib/cello/structure/html_elements/select_helper.rb
|
201
|
+
- lib/cello/structure/html_elements/span_helper.rb
|
202
|
+
- lib/cello/structure/html_elements/textarea_helper.rb
|
203
|
+
- lib/cello/structure/html_elements/textfield_helper.rb
|
204
|
+
- lib/cello/structure/page.rb
|
132
205
|
- lib/cello/version.rb
|
206
|
+
- spec/button_spec.rb
|
133
207
|
- spec/checkbox_spec.rb
|
208
|
+
- spec/div_spec.rb
|
209
|
+
- spec/element_spec.rb
|
210
|
+
- spec/hidden_spec.rb
|
211
|
+
- spec/link_spec.rb
|
212
|
+
- spec/page_spec.rb
|
213
|
+
- spec/radio_spec.rb
|
214
|
+
- spec/select_spec.rb
|
215
|
+
- spec/span_spec.rb
|
216
|
+
- spec/spec_helper.rb
|
217
|
+
- spec/textarea_spec.rb
|
218
|
+
- spec/textfield_spec.rb
|
219
|
+
- travis.yml
|
134
220
|
has_rdoc: true
|
135
221
|
homepage: http://github.com/camiloribeiro/cello
|
136
222
|
licenses: []
|
@@ -163,20 +249,44 @@ specification_version: 3
|
|
163
249
|
summary: Fast and simple Page-Object with BDD
|
164
250
|
test_files:
|
165
251
|
- features/access_element.feature
|
252
|
+
- features/browser.feature
|
253
|
+
- features/button.feature
|
166
254
|
- features/checkbox.feature
|
167
255
|
- features/choose_browser.feature
|
256
|
+
- features/dsl.feature
|
168
257
|
- features/element.feature
|
169
258
|
- features/fire_event.feature
|
170
|
-
- features/
|
259
|
+
- features/get_html_attributes.feature
|
260
|
+
- features/pages/firefox.rb
|
171
261
|
- features/pages/input_fields.rb
|
262
|
+
- features/pages/response_page.rb
|
263
|
+
- features/radio.feature
|
264
|
+
- features/select.feature
|
172
265
|
- features/site/inputs.html
|
266
|
+
- features/site/read_page.html
|
173
267
|
- features/step_definitions/access_element.rb
|
268
|
+
- features/step_definitions/browser.rb
|
174
269
|
- features/step_definitions/checkbox.rb
|
175
270
|
- features/step_definitions/common_steps.rb
|
176
271
|
- features/step_definitions/element.rb
|
272
|
+
- features/step_definitions/html_attributes.rb
|
273
|
+
- features/step_definitions/radio.rb
|
274
|
+
- features/step_definitions/select.rb
|
177
275
|
- features/step_definitions/textarea.rb
|
178
276
|
- features/step_definitions/textfield.rb
|
179
277
|
- features/support/env.rb
|
180
278
|
- features/textarea.feature
|
181
279
|
- features/textfield.feature
|
280
|
+
- spec/button_spec.rb
|
182
281
|
- spec/checkbox_spec.rb
|
282
|
+
- spec/div_spec.rb
|
283
|
+
- spec/element_spec.rb
|
284
|
+
- spec/hidden_spec.rb
|
285
|
+
- spec/link_spec.rb
|
286
|
+
- spec/page_spec.rb
|
287
|
+
- spec/radio_spec.rb
|
288
|
+
- spec/select_spec.rb
|
289
|
+
- spec/span_spec.rb
|
290
|
+
- spec/spec_helper.rb
|
291
|
+
- spec/textarea_spec.rb
|
292
|
+
- spec/textfield_spec.rb
|