bddfire 2.0.7 → 2.0.8
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.
- checksums.yaml +4 -4
- data/features/install.feature +5 -5
- data/lib/bddfire/version.rb +1 -1
- data/lib/bddfire/web/web_steps.rb +11 -11
- data/pre-defined-steps/capybara_steps.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7efa05b7432a4c69d8fd67271c06fec65bee3b7
|
|
4
|
+
data.tar.gz: de814780e55873f5f260a4819c393127ba0d86cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4be4a1eabbe2a371d6e85767d4bfae928d3d38f2b90a3aa3d275807a5473fdb952b34cc3db8d6b56d70552a4a04a71f6534a9a4cc0f8b9198f876e5077cce422
|
|
7
|
+
data.tar.gz: 4754f298a15b3fe41b8d144d66c6235c6e98541d2c97916b41c7f0ef839833e13b28b3380210aea2cd31c6c218101d842ed9b319eff2ec6d4c4d13d84b61a7e1
|
data/features/install.feature
CHANGED
|
@@ -2,8 +2,8 @@ Feature: Install bddfire
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
Scenario: Using rubygems
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Given I successfully run `bddfire help`
|
|
6
|
+
Then the output should contain:
|
|
7
|
+
"""
|
|
8
|
+
Usage: bddfire <command-name> [parameters] [options]
|
|
9
|
+
"""
|
data/lib/bddfire/version.rb
CHANGED
|
@@ -3,7 +3,7 @@ Given(/^I am on "(.*?)"$/) do |url|
|
|
|
3
3
|
visit(url)
|
|
4
4
|
end
|
|
5
5
|
|
|
6
|
-
When(/^I fill in "(
|
|
6
|
+
When(/^I fill in "([^"]*)" with the text "([^"]*)"$/) do |element, text|
|
|
7
7
|
fill_in element, with: text
|
|
8
8
|
end
|
|
9
9
|
|
|
@@ -11,42 +11,42 @@ Then(/^I should see "(.*?)"$/) do |text|
|
|
|
11
11
|
page.should have_content text
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
When(/^I fill "(
|
|
14
|
+
When(/^I fill "([^"]*)" into field with (.+) "(.*?)"$/) do |data, _type, locator|
|
|
15
15
|
fill_in locator, with: data
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
When(/^I select the "(
|
|
18
|
+
When(/^I select the "([^"]*)" link$/) do |link|
|
|
19
19
|
click_link(link)
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
When(/^I select the "(
|
|
22
|
+
When(/^I select the "([^"]*)" button$/) do |button|
|
|
23
23
|
click_button(button)
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
When(/^I click on link having text "(
|
|
26
|
+
When(/^I click on link having text "([^"]*)"$/) do |text|
|
|
27
27
|
click_link(text)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
When(/^I check checkbox "(
|
|
30
|
+
When(/^I check checkbox "([^"]*)"$/) do |box|
|
|
31
31
|
check(box)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
When(/^I uncheck checkbox "(
|
|
34
|
+
When(/^I uncheck checkbox "([^"]*)"$/) do |box|
|
|
35
35
|
uncheck(box)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
When(/^I choose radio button"(
|
|
38
|
+
When(/^I choose radio button "([^"]*)"$/) do |radiobutton|
|
|
39
39
|
choose(radiobutton)
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
When(/^I select option "(
|
|
42
|
+
When(/^I select option "([^"]*)" from the dropdown "([^"]*)"$/) do |option, dropdown|
|
|
43
43
|
select(option, from: dropdown)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
When(/^I attach the file "(
|
|
46
|
+
When(/^I attach the file "([^"]*)" to the field "([^"]*)"$/) do |file, locator|
|
|
47
47
|
attach_file(locator, file)
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
When(/^I hover over
|
|
50
|
+
When(/^I hover over the element "([^"]*)"$/) do |element|
|
|
51
51
|
page.find(element).hover
|
|
52
52
|
end
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
When I fill in “element” with the text “text”
|
|
23
23
|
When I select the “link” link
|
|
24
24
|
When I select the "button" button
|
|
25
|
-
When I click on
|
|
25
|
+
When I click on link having text “text"
|
|
26
26
|
When I check “checkbox”
|
|
27
27
|
When I uncheck “checkbox”
|
|
28
28
|
When I choose “radio button”
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bddfire
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shashikant Jagtap
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|