symbiont 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +22 -7
- data/HISTORY.md +6 -0
- data/app/public/css/site.css +16 -0
- data/app/public/js/site.js +3 -1
- data/app/views/comics.erb +23 -1
- data/app/views/webobject.erb +1 -1
- data/lib/symbiont/data_setter.rb +7 -3
- data/lib/symbiont/enclosers.rb +24 -27
- data/lib/symbiont/evaluators.rb +52 -23
- data/lib/symbiont/factory.rb +19 -75
- data/lib/symbiont/generators.rb +172 -44
- data/lib/symbiont/platform_watir/platform_object.rb +202 -18
- data/lib/symbiont/version.rb +1 -1
- data/lib/symbiont/web_objects/button.rb +1 -1
- data/lib/symbiont/web_objects/checkbox.rb +1 -1
- data/lib/symbiont/web_objects/heading.rb +12 -0
- data/lib/symbiont/web_objects/hidden_field.rb +19 -0
- data/lib/symbiont/web_objects/label.rb +15 -0
- data/lib/symbiont/web_objects/list_item.rb +13 -0
- data/lib/symbiont/web_objects/ordered_list.rb +49 -0
- data/lib/symbiont/web_objects/radio.rb +1 -1
- data/lib/symbiont/web_objects/select_list.rb +1 -1
- data/lib/symbiont/web_objects/table.rb +4 -0
- data/lib/symbiont/web_objects/table_row.rb +4 -0
- data/lib/symbiont/web_objects/text_area.rb +26 -0
- data/lib/symbiont/web_objects/unordered_list.rb +49 -0
- data/lib/symbiont.rb +7 -0
- data/lucid.yml +6 -0
- data/spec/spec_helper.rb +70 -16
- data/spec/symbiont/data_setter_spec.rb +65 -62
- data/spec/symbiont/enclosers_spec.rb +76 -57
- data/spec/symbiont/evaluators_spec.rb +95 -75
- data/spec/symbiont/factory_spec.rb +174 -122
- data/spec/symbiont/generators/button_generators_spec.rb +34 -31
- data/spec/symbiont/generators/checkbox_generators_spec.rb +79 -75
- data/spec/symbiont/generators/div_generators_spec.rb +56 -52
- data/spec/symbiont/generators/hidden_field_generators_spec.rb +65 -0
- data/spec/symbiont/generators/link_generators_spec.rb +30 -27
- data/spec/symbiont/generators/paragraph_generators_spec.rb +22 -17
- data/spec/symbiont/generators/radio_generators_spec.rb +76 -77
- data/spec/symbiont/generators/select_list_generators_spec.rb +93 -77
- data/spec/symbiont/generators/span_generators_spec.rb +56 -52
- data/spec/symbiont/generators/{cell_generators_spec.rb → table_cell_generators_spec.rb} +56 -52
- data/spec/symbiont/generators/table_generators_spec.rb +56 -52
- data/spec/symbiont/generators/text_area_generators_spec.rb +72 -0
- data/spec/symbiont/generators/text_field_generators_spec.rb +30 -27
- data/spec/symbiont/generators_spec.rb +38 -28
- data/spec/symbiont/locators_spec.rb +68 -68
- data/spec/symbiont/platform_object_spec.rb +2 -4
- data/spec/symbiont/symbiont_spec.rb +10 -8
- data/spec/symbiont/web_object_spec.rb +194 -194
- data/spec/symbiont/web_objects/button_spec.rb +38 -30
- data/spec/symbiont/web_objects/checkbox_spec.rb +27 -27
- data/spec/symbiont/web_objects/div_spec.rb +18 -11
- data/spec/symbiont/web_objects/heading_spec.rb +22 -0
- data/spec/symbiont/web_objects/hidden_field_spec.rb +18 -0
- data/spec/symbiont/web_objects/label_spec.rb +18 -0
- data/spec/symbiont/web_objects/link_spec.rb +33 -33
- data/spec/symbiont/web_objects/list_item_spec.rb +18 -0
- data/spec/symbiont/web_objects/option_spec.rb +9 -9
- data/spec/symbiont/web_objects/ordered_list_spec.rb +53 -0
- data/spec/symbiont/web_objects/paragraph_spec.rb +9 -2
- data/spec/symbiont/web_objects/radio_spec.rb +27 -27
- data/spec/symbiont/web_objects/select_list_spec.rb +69 -69
- data/spec/symbiont/web_objects/span_spec.rb +18 -11
- data/spec/symbiont/web_objects/table_cell_spec.rb +19 -19
- data/spec/symbiont/web_objects/table_row_spec.rb +58 -58
- data/spec/symbiont/web_objects/table_spec.rb +61 -61
- data/spec/symbiont/web_objects/text_area_spec.rb +18 -0
- data/spec/symbiont/web_objects/text_field_spec.rb +39 -39
- data/spec/symbiont/web_objects/unordered_list_spec.rb +51 -0
- data/specs/common/support/browser.rb +25 -0
- data/specs/common/support/env.rb +6 -0
- data/specs/common/support/events.rb +15 -0
- data/specs/enclosers.feature +9 -0
- data/specs/evaluators.feature +26 -0
- data/specs/pages/characters.rb +22 -0
- data/specs/pages/home.rb +9 -0
- data/specs/pages/stardate.rb +23 -0
- data/specs/pages/web_objects.rb +77 -0
- data/specs/select_list.feature +53 -0
- data/specs/steps/enclosers_steps.rb +17 -0
- data/specs/steps/evaluators_steps.rb +44 -0
- data/specs/steps/navigation_steps.rb +14 -0
- data/specs/steps/select_list_steps.rb +94 -0
- data/specs/steps/table_cell_steps.rb +31 -0
- data/specs/steps/table_steps.rb +87 -0
- data/specs/table.feature +49 -0
- data/specs/table_cell.feature +27 -0
- data/symbiont.gemspec +4 -1
- metadata +72 -6
- data/cucumber.yml +0 -6
@@ -0,0 +1,94 @@
|
|
1
|
+
When(/^the physics expertise select list is searched for by "(.*?)"$/) do |identifier|
|
2
|
+
@find_by = identifier
|
3
|
+
end
|
4
|
+
|
5
|
+
When(/^the sith power select list is enabled$/) do
|
6
|
+
on(WebObjects).check_make_sith_active
|
7
|
+
end
|
8
|
+
|
9
|
+
When(/^the physics expertise topic "(.*?)" is selected$/) do |value|
|
10
|
+
on(WebObjects).physics_id = value
|
11
|
+
end
|
12
|
+
|
13
|
+
When(/^the physics expertise option "(.*?)" is selected$/) do |option|
|
14
|
+
on(WebObjects).physics_id_object.select_value(option)
|
15
|
+
end
|
16
|
+
|
17
|
+
When(/^the physics expertise values "(.*?)" and "(.*?)" are selected$/) do |value1, value2|
|
18
|
+
on(WebObjects).physics_id_object.select(value1)
|
19
|
+
on(WebObjects).physics_id_object.select(value2)
|
20
|
+
end
|
21
|
+
|
22
|
+
When(/^the physics expertise select list is cleared$/) do
|
23
|
+
on(WebObjects).physics_id_object.clear
|
24
|
+
end
|
25
|
+
|
26
|
+
Then(/^the physics expertise select list should exist$/) do
|
27
|
+
on(WebObjects).physics_id_exists?.should == true
|
28
|
+
on(WebObjects).physics_id?.should == true
|
29
|
+
end
|
30
|
+
|
31
|
+
Then(/^the physics expertise select list should be visible$/) do
|
32
|
+
on(WebObjects).physics_id_visible?.should == true
|
33
|
+
on(WebObjects).physics_id?.should == true
|
34
|
+
end
|
35
|
+
|
36
|
+
Then(/^the physics expertise select list should be enabled$/) do
|
37
|
+
on(WebObjects).physics_id_enabled?.should == true
|
38
|
+
on(WebObjects).physics_id!.should == true
|
39
|
+
end
|
40
|
+
|
41
|
+
Then(/^the physics expertise select list should be a select list object$/) do
|
42
|
+
element = on(WebObjects).physics_id_select_list
|
43
|
+
element.should be_instance_of Symbiont::WebObjects::SelectList
|
44
|
+
end
|
45
|
+
|
46
|
+
Then(/^the sith power select list should not be enabled$/) do
|
47
|
+
on(WebObjects).sith_power_enabled?.should == false
|
48
|
+
end
|
49
|
+
|
50
|
+
Then(/^it is possible to select a physics topic of "(.*?)"$/) do |value|
|
51
|
+
on(WebObjects).send "physics_#{@find_by}=".to_sym, value
|
52
|
+
end
|
53
|
+
|
54
|
+
Then(/^the value of the selected item for physics expertise should be "(.*?)"$/) do |value|
|
55
|
+
result = on(WebObjects).send "physics_#{@find_by}".to_sym
|
56
|
+
result.should == value
|
57
|
+
end
|
58
|
+
|
59
|
+
Then(/^the value of the selected option for physics expertise should be "(.*?)"$/) do |option|
|
60
|
+
element = on(WebObjects).send "physics_#{@find_by}_object".to_sym
|
61
|
+
element.value.should == option
|
62
|
+
end
|
63
|
+
|
64
|
+
Then(/^the physics expertise select list should include "(.*?)"$/) do |value|
|
65
|
+
on(WebObjects).physics_id_object.should include value
|
66
|
+
on(WebObjects).physics_id_object.include?(value)
|
67
|
+
end
|
68
|
+
|
69
|
+
Then(/^the selected physics expertise value is "(.*?)"$/) do |value|
|
70
|
+
on(WebObjects).select_list_object(id: 'physics').selected_options[0].should == value
|
71
|
+
on(WebObjects).physics_id_object.selected?(value).should be_true
|
72
|
+
on(WebObjects).physics_id_object.selected?(value)
|
73
|
+
on(WebObjects).physics_id.should == value
|
74
|
+
end
|
75
|
+
|
76
|
+
Then(/^the selected physics expertise option is "(.*?)"$/) do |value|
|
77
|
+
on(WebObjects).physics_id_option?.should == value
|
78
|
+
on(WebObjects).physics_id_object.selected_values[0].should == value
|
79
|
+
end
|
80
|
+
|
81
|
+
Then(/^the selected physics expertise values are "(.*?)" and "(.*?)"$/) do |value1, value2|
|
82
|
+
on(WebObjects).physics_id_object.selected_options.should == [value1, value2]
|
83
|
+
end
|
84
|
+
|
85
|
+
Then(/^the physics expertise select list should have no selected values$/) do
|
86
|
+
on(WebObjects).physics_id_object.selected_options.should be_empty
|
87
|
+
end
|
88
|
+
|
89
|
+
Then(/^the physics expertise select list contains the following$/) do |values|
|
90
|
+
list = on(WebObjects).physics_id_options?
|
91
|
+
values.raw.each do |item|
|
92
|
+
list.should include item[0]
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
When(/^the founded table entry for DC is searched for by "(.*?)"$/) do |identifier|
|
2
|
+
@find_by = identifier
|
3
|
+
end
|
4
|
+
|
5
|
+
Then(/^the founded table entry for DC should exist$/) do
|
6
|
+
@active.dc_year_id_exists?.should == true
|
7
|
+
@active.dc_year_id?.should == true
|
8
|
+
end
|
9
|
+
|
10
|
+
Then(/^the founded table entry for DC should be visible$/) do
|
11
|
+
@active.dc_year_id_visible?.should == true
|
12
|
+
@active.dc_year_id_?.should == true
|
13
|
+
end
|
14
|
+
|
15
|
+
Then(/^the founded table entry for DC should be a table cell object$/) do
|
16
|
+
element = @active.dc_year_id_cell
|
17
|
+
element.should be_instance_of Symbiont::WebObjects::TableCell
|
18
|
+
end
|
19
|
+
|
20
|
+
Then(/^the founded table entry for DC should be "(.*?)"$/) do |value|
|
21
|
+
@active.dc_year_id.should == value
|
22
|
+
end
|
23
|
+
|
24
|
+
Then(/^the founded table entry for Marvel should be "(.*?)"$/) do |value|
|
25
|
+
@active.marvel_year_id.should == value
|
26
|
+
end
|
27
|
+
|
28
|
+
Then(/^it can be confirmed that the founded table entry for DC should be "(.*?)"$/) do |value|
|
29
|
+
result = @active.send "dc_year_#{@find_by}".to_sym
|
30
|
+
result.should == value
|
31
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
When(/^looking at the basic data table$/) do
|
2
|
+
@data_table = @active.publishers_table
|
3
|
+
end
|
4
|
+
|
5
|
+
When(/^the comic characters table is searched for by "(.*?)"$/) do |identifier|
|
6
|
+
@find_by = identifier
|
7
|
+
end
|
8
|
+
|
9
|
+
Then(/^the comic characters table should exist$/) do
|
10
|
+
@active.characters_id_exists?.should == true
|
11
|
+
@active.characters_id?.should == true
|
12
|
+
end
|
13
|
+
|
14
|
+
Then(/^the comic characters table should be visible$/) do
|
15
|
+
@active.characters_id_visible?.should == true
|
16
|
+
@active.characters_id_?.should == true
|
17
|
+
end
|
18
|
+
|
19
|
+
Then(/^the comic characters table should be a table object$/) do
|
20
|
+
element = @active.characters_id_table
|
21
|
+
element.should be_instance_of Symbiont::WebObjects::Table
|
22
|
+
end
|
23
|
+
|
24
|
+
Then(/^it can be confirmed that the "(.*?)" of "(.*?)" is "(.*?)"$/) do |column, row, value|
|
25
|
+
#@active.characters_id_table[row][column].text.should == value
|
26
|
+
|
27
|
+
@element = @active.send "characters_#{@find_by}_table"
|
28
|
+
@element[row][column].text.should == value
|
29
|
+
end
|
30
|
+
|
31
|
+
Then(/^the data for row "(.*?)" should be "(.*?)", "(.*?)" and "(.*?)"$/) do |row, val1, val2, val3|
|
32
|
+
row = (row.to_i - 1) if row.to_i > 0
|
33
|
+
#table_row = @active.publishers_table[row]
|
34
|
+
table_row = @data_table[row]
|
35
|
+
table_row[0].text.should == val1
|
36
|
+
table_row[1].text.should == val2
|
37
|
+
table_row[2].text.should == val3
|
38
|
+
end
|
39
|
+
|
40
|
+
Then(/^the data for the first row should be "(.*?)", "(.*?)" and "(.*?)"$/) do |val1, val2, val3|
|
41
|
+
@data_table.first_row[0].text.should == val1
|
42
|
+
@data_table.first_row[1].text.should == val2
|
43
|
+
@data_table.first_row[2].text.should == val3
|
44
|
+
end
|
45
|
+
|
46
|
+
Then(/^the data for the last row should be "(.*?)", "(.*?)" and "(.*?)"$/) do |val1, val2, val3|
|
47
|
+
@data_table.last_row[0].text.should == val1
|
48
|
+
@data_table.last_row[1].text.should == val2
|
49
|
+
@data_table.last_row[2].text.should == val3
|
50
|
+
end
|
51
|
+
|
52
|
+
Then(/^the table should have "(.*?)" rows$/) do |rows|
|
53
|
+
@data_table.rows.should == rows.to_i
|
54
|
+
end
|
55
|
+
|
56
|
+
Then(/^row "(.*?)" should have "(.*?)" columns$/) do |row, cols|
|
57
|
+
@data_table[row.to_i - 1].columns.should == cols.to_i
|
58
|
+
end
|
59
|
+
|
60
|
+
Then(/^each row should contain text$/) do
|
61
|
+
@data_table.each do |row|
|
62
|
+
#row.text.should include text
|
63
|
+
row.text.should match /.*/
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
Then(/^each column should contain text$/) do
|
68
|
+
row = @data_table[0]
|
69
|
+
row.each do |column|
|
70
|
+
#column.text.should include text
|
71
|
+
column.text.should match /.*/
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
Then(/^the "(.*?)" of "(.*?)" should be "(.*?)"$/) do |header, item, value|
|
76
|
+
puts "Data Table #{@data_table}"
|
77
|
+
@data_table[item][header].text.should == value
|
78
|
+
#@active.publishers_table["DC"]["Publisher"].text.should == text
|
79
|
+
end
|
80
|
+
|
81
|
+
Then(/^the data for column "(.*?)" and row "(.*?)" should be unavailable$/) do |col, row|
|
82
|
+
@data_table[row][col].should be_nil
|
83
|
+
end
|
84
|
+
|
85
|
+
Then(/^the data for row "(.*?)" should be unavailable$/) do |row|
|
86
|
+
@data_table[row].should be_nil
|
87
|
+
end
|
data/specs/table.feature
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
Feature: Work with table objects
|
2
|
+
|
3
|
+
Background:
|
4
|
+
Given the comic characters page
|
5
|
+
|
6
|
+
Scenario: Checking the state of tables
|
7
|
+
* the comic characters table should exist
|
8
|
+
* the comic characters table should be visible
|
9
|
+
* the comic characters table should be a table object
|
10
|
+
|
11
|
+
Scenario Outline: Finding a select list on the page
|
12
|
+
When the comic characters table is searched for by "<identifier>"
|
13
|
+
Then it can be confirmed that the "Identity" of "Parallax" is "Hal Jordan"
|
14
|
+
|
15
|
+
# Name will be added to the list when Symbiont can handle turning the
|
16
|
+
# :name locator into a :tag_name reference.
|
17
|
+
|
18
|
+
Scenarios:
|
19
|
+
| identifier |
|
20
|
+
| id |
|
21
|
+
| class |
|
22
|
+
| xpath |
|
23
|
+
| index |
|
24
|
+
|
25
|
+
Scenario: Collect information from a table, by row number
|
26
|
+
When looking at the basic data table
|
27
|
+
Then the data for row "2" should be "DC", "1934" and "National Allied Publications"
|
28
|
+
And the data for row "3" should be "Marvel", "1939" and "Timely Publications"
|
29
|
+
And the data for the first row should be "Publisher", "Founded" and "Original Name"
|
30
|
+
And the data for the last row should be "Marvel", "1939" and "Timely Publications"
|
31
|
+
|
32
|
+
Scenario: Collect row and column information from a table
|
33
|
+
When looking at the basic data table
|
34
|
+
And the table should have "3" rows
|
35
|
+
And row "1" should have "3" columns
|
36
|
+
And each row should contain text
|
37
|
+
And each column should contain text
|
38
|
+
|
39
|
+
Scenario: Collect information from a table by named column and row
|
40
|
+
When looking at the basic data table
|
41
|
+
Then the "Original Name" of "DC" should be "National Allied Publications"
|
42
|
+
|
43
|
+
Scenario: Information cannot be collected when there is invalid column information
|
44
|
+
When looking at the basic data table
|
45
|
+
Then the data for column "Owner" and row "Marvel" should be unavailable
|
46
|
+
|
47
|
+
Scenario: Information cannot be collected when there is invalid row information
|
48
|
+
When looking at the basic data table
|
49
|
+
Then the data for row "Dark Horse" should be unavailable
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Feature: Work with table cell objects
|
2
|
+
|
3
|
+
Background:
|
4
|
+
Given the comic characters page
|
5
|
+
|
6
|
+
Scenario: Checking the state of table cells
|
7
|
+
* the founded table entry for DC should exist
|
8
|
+
* the founded table entry for DC should be visible
|
9
|
+
* the founded table entry for DC should be a table cell object
|
10
|
+
|
11
|
+
Scenario: Get text from a table cell
|
12
|
+
* the founded table entry for DC should be "1934"
|
13
|
+
* the founded table entry for Marvel should be "1939"
|
14
|
+
|
15
|
+
Scenario Outline: Finding a table cell on the page
|
16
|
+
When the founded table entry for DC is searched for by "<identifier>"
|
17
|
+
Then it can be confirmed that the founded table entry for DC should be "1934"
|
18
|
+
|
19
|
+
# Name will be added to the list when Symbiont can handle turning the
|
20
|
+
# :name locator into a :tag_name reference.
|
21
|
+
# Index will have to be determined based on all tables available.
|
22
|
+
|
23
|
+
Scenarios:
|
24
|
+
| identifier |
|
25
|
+
| id |
|
26
|
+
| class |
|
27
|
+
| xpath |
|
data/symbiont.gemspec
CHANGED
@@ -13,7 +13,10 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.description = "An endosymbiotic facultative library for web application testing."
|
14
14
|
|
15
15
|
gem.add_runtime_dependency "watir-webdriver", "0.6.2"
|
16
|
-
gem.add_runtime_dependency "selenium-webdriver", "2.
|
16
|
+
gem.add_runtime_dependency "selenium-webdriver", "2.31.0"
|
17
|
+
|
18
|
+
gem.add_development_dependency "rspec"
|
19
|
+
gem.add_development_dependency "simplecov"
|
17
20
|
|
18
21
|
gem.required_ruby_version = '>= 1.9.2'
|
19
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: symbiont
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: watir-webdriver
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.
|
37
|
+
version: 2.31.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,39 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.
|
45
|
+
version: 2.31.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: simplecov
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
46
78
|
description: An endosymbiotic facultative library for web application testing.
|
47
79
|
email:
|
48
80
|
- jeffnyman@gmail.com
|
@@ -148,7 +180,6 @@ files:
|
|
148
180
|
- app/views/stardate.erb
|
149
181
|
- app/views/stardate_calc.erb
|
150
182
|
- app/views/webobject.erb
|
151
|
-
- cucumber.yml
|
152
183
|
- lib/symbiont.rb
|
153
184
|
- lib/symbiont/data_setter.rb
|
154
185
|
- lib/symbiont/enclosers.rb
|
@@ -166,8 +197,13 @@ files:
|
|
166
197
|
- lib/symbiont/web_objects/button.rb
|
167
198
|
- lib/symbiont/web_objects/checkbox.rb
|
168
199
|
- lib/symbiont/web_objects/div.rb
|
200
|
+
- lib/symbiont/web_objects/heading.rb
|
201
|
+
- lib/symbiont/web_objects/hidden_field.rb
|
202
|
+
- lib/symbiont/web_objects/label.rb
|
169
203
|
- lib/symbiont/web_objects/link.rb
|
204
|
+
- lib/symbiont/web_objects/list_item.rb
|
170
205
|
- lib/symbiont/web_objects/option.rb
|
206
|
+
- lib/symbiont/web_objects/ordered_list.rb
|
171
207
|
- lib/symbiont/web_objects/paragraph.rb
|
172
208
|
- lib/symbiont/web_objects/radio.rb
|
173
209
|
- lib/symbiont/web_objects/select_list.rb
|
@@ -175,22 +211,27 @@ files:
|
|
175
211
|
- lib/symbiont/web_objects/table.rb
|
176
212
|
- lib/symbiont/web_objects/table_cell.rb
|
177
213
|
- lib/symbiont/web_objects/table_row.rb
|
214
|
+
- lib/symbiont/web_objects/text_area.rb
|
178
215
|
- lib/symbiont/web_objects/text_field.rb
|
216
|
+
- lib/symbiont/web_objects/unordered_list.rb
|
217
|
+
- lucid.yml
|
179
218
|
- spec/spec_helper.rb
|
180
219
|
- spec/symbiont/data_setter_spec.rb
|
181
220
|
- spec/symbiont/enclosers_spec.rb
|
182
221
|
- spec/symbiont/evaluators_spec.rb
|
183
222
|
- spec/symbiont/factory_spec.rb
|
184
223
|
- spec/symbiont/generators/button_generators_spec.rb
|
185
|
-
- spec/symbiont/generators/cell_generators_spec.rb
|
186
224
|
- spec/symbiont/generators/checkbox_generators_spec.rb
|
187
225
|
- spec/symbiont/generators/div_generators_spec.rb
|
226
|
+
- spec/symbiont/generators/hidden_field_generators_spec.rb
|
188
227
|
- spec/symbiont/generators/link_generators_spec.rb
|
189
228
|
- spec/symbiont/generators/paragraph_generators_spec.rb
|
190
229
|
- spec/symbiont/generators/radio_generators_spec.rb
|
191
230
|
- spec/symbiont/generators/select_list_generators_spec.rb
|
192
231
|
- spec/symbiont/generators/span_generators_spec.rb
|
232
|
+
- spec/symbiont/generators/table_cell_generators_spec.rb
|
193
233
|
- spec/symbiont/generators/table_generators_spec.rb
|
234
|
+
- spec/symbiont/generators/text_area_generators_spec.rb
|
194
235
|
- spec/symbiont/generators/text_field_generators_spec.rb
|
195
236
|
- spec/symbiont/generators_spec.rb
|
196
237
|
- spec/symbiont/locators_spec.rb
|
@@ -200,8 +241,13 @@ files:
|
|
200
241
|
- spec/symbiont/web_objects/button_spec.rb
|
201
242
|
- spec/symbiont/web_objects/checkbox_spec.rb
|
202
243
|
- spec/symbiont/web_objects/div_spec.rb
|
244
|
+
- spec/symbiont/web_objects/heading_spec.rb
|
245
|
+
- spec/symbiont/web_objects/hidden_field_spec.rb
|
246
|
+
- spec/symbiont/web_objects/label_spec.rb
|
203
247
|
- spec/symbiont/web_objects/link_spec.rb
|
248
|
+
- spec/symbiont/web_objects/list_item_spec.rb
|
204
249
|
- spec/symbiont/web_objects/option_spec.rb
|
250
|
+
- spec/symbiont/web_objects/ordered_list_spec.rb
|
205
251
|
- spec/symbiont/web_objects/paragraph_spec.rb
|
206
252
|
- spec/symbiont/web_objects/radio_spec.rb
|
207
253
|
- spec/symbiont/web_objects/select_list_spec.rb
|
@@ -209,7 +255,27 @@ files:
|
|
209
255
|
- spec/symbiont/web_objects/table_cell_spec.rb
|
210
256
|
- spec/symbiont/web_objects/table_row_spec.rb
|
211
257
|
- spec/symbiont/web_objects/table_spec.rb
|
258
|
+
- spec/symbiont/web_objects/text_area_spec.rb
|
212
259
|
- spec/symbiont/web_objects/text_field_spec.rb
|
260
|
+
- spec/symbiont/web_objects/unordered_list_spec.rb
|
261
|
+
- specs/common/support/browser.rb
|
262
|
+
- specs/common/support/env.rb
|
263
|
+
- specs/common/support/events.rb
|
264
|
+
- specs/enclosers.feature
|
265
|
+
- specs/evaluators.feature
|
266
|
+
- specs/pages/characters.rb
|
267
|
+
- specs/pages/home.rb
|
268
|
+
- specs/pages/stardate.rb
|
269
|
+
- specs/pages/web_objects.rb
|
270
|
+
- specs/select_list.feature
|
271
|
+
- specs/steps/enclosers_steps.rb
|
272
|
+
- specs/steps/evaluators_steps.rb
|
273
|
+
- specs/steps/navigation_steps.rb
|
274
|
+
- specs/steps/select_list_steps.rb
|
275
|
+
- specs/steps/table_cell_steps.rb
|
276
|
+
- specs/steps/table_steps.rb
|
277
|
+
- specs/table.feature
|
278
|
+
- specs/table_cell.feature
|
213
279
|
- symbiont.gemspec
|
214
280
|
homepage: https://github.com/jnyman/symbiont
|
215
281
|
licenses:
|
data/cucumber.yml
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
<% browser = "BROWSER=firefox" %>
|
2
|
-
<% std_opts = "--tags ~@wip --color --format pretty --no-source" %>
|
3
|
-
<% rpt_opts = "--format html --out output/specs-report.html" %>
|
4
|
-
|
5
|
-
default: <%= browser %> <%= std_opts %> -r specs specs
|
6
|
-
report: <%= browser %> <%= std_opts %> <%= rpt_opts %> -r specs specs
|