agilibox 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/libs/agilibox/get_http.rb +1 -0
- data/lib/agilibox/cucumber_helpers/common_steps.rb +8 -4
- data/lib/agilibox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72c470fa0cf544cfdf7897ea7ef69491f36e7a3e993f137f28a3735ef24acee1
|
4
|
+
data.tar.gz: 1a7cefd920276398382bb06f5df8d6e6a19055a0ee7206609d154de3f8ed452f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5900e8e0b9c7c325463ce8f75395375e5cf3714f8c7c15763de164e83c67cb71681315a065dde11f139c23b3f171b458037333ec162bb75c8044ffd254e0873
|
7
|
+
data.tar.gz: b5c5b04c3d71a5757b3f933d510a25591c813b0efdd061a0d53a70c2c3bfbe351322b67eaae68516ec6c5ddb5ac624a7172bd5d5bc5ecc59596573e58c2e0c9c
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
# Clicks
|
1
|
+
# Clicks / Keyboard
|
2
2
|
|
3
3
|
When("I click on {string}") do |text|
|
4
|
-
|
4
|
+
find("a, button, label", text: text).click
|
5
5
|
end
|
6
6
|
|
7
7
|
When("I click on first {string}") do |text|
|
8
8
|
expect(page).to have_content(text)
|
9
|
-
all("a, button, label", text: text).first.click
|
9
|
+
all("a, button, input[type=button], label", text: text).first.click
|
10
10
|
end
|
11
11
|
|
12
12
|
When("I click on last {string}") do |text|
|
13
13
|
expect(page).to have_content(text)
|
14
|
-
all("a, button, label", text: text).last.click
|
14
|
+
all("a, button, input[type=button], label", text: text).last.click
|
15
15
|
end
|
16
16
|
|
17
17
|
When("I click on {string} element") do |selector|
|
@@ -28,6 +28,10 @@ When("I click on last {string} element") do |selector|
|
|
28
28
|
all(selector).last.click
|
29
29
|
end
|
30
30
|
|
31
|
+
When("I press key {string}") do |key|
|
32
|
+
find("body").send_keys(key.length == 1 ? key : key.to_sym)
|
33
|
+
end
|
34
|
+
|
31
35
|
# Routes
|
32
36
|
|
33
37
|
When("I go on the {string} page") do |route_name|
|
data/lib/agilibox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agilibox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|