appium_capybara 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b136b7e11058078bcc10d341aee533ef68b7786a
|
4
|
+
data.tar.gz: 7a10391405bd81b020e9b52cca823667ae2311f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38af33ec5c2ec31410719e253cc015247ac2c3b25dd2196724d672d7ef1fa1dd1f2341918e87cdcefff8644965fb26b42b19ed456cf09c32734d740dc8359e6c
|
7
|
+
data.tar.gz: aa40f5c964700ef3f12b2cc005e356a94e243635d2e3eb7eaad3b8b09ceb6035d56addd05d8231368077848a11227fd76f81df9610589a5cb3afed7f62165a57
|
@@ -48,13 +48,15 @@ module Appium::Capybara
|
|
48
48
|
!! @browser
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
52
|
-
|
51
|
+
# override
|
52
|
+
# type and options are passed but can be ignored.
|
53
|
+
def dismiss_modal(type, options={}, &blk)
|
53
54
|
appium_driver.alert_dismiss
|
54
55
|
end
|
55
56
|
|
56
|
-
#
|
57
|
-
|
57
|
+
# override
|
58
|
+
# type and options are passed but can be ignored.
|
59
|
+
def accept_modal(type, options={}, &blk)
|
58
60
|
appium_driver.alert_accept
|
59
61
|
end
|
60
62
|
|
@@ -1,8 +1,10 @@
|
|
1
1
|
module Capybara
|
2
2
|
class Session
|
3
3
|
def reset!
|
4
|
-
#
|
5
|
-
|
4
|
+
# Work around for issue https://github.com/jnicklas/capybara/issues/1237
|
5
|
+
browser_initialized = driver.respond_to?(:browser_initialized?) ? driver.browser_initialized? : true
|
6
|
+
|
7
|
+
if @touched && browser_initialized
|
6
8
|
driver.reset!
|
7
9
|
# Ugly hack to not run this assertion for Appium
|
8
10
|
assert_no_selector(:xpath, "/html/body/*") unless driver.instance_of? Appium::Capybara::Driver
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Appium
|
2
2
|
module Capybara
|
3
|
-
VERSION = '1.
|
4
|
-
DATE = '2014-
|
3
|
+
VERSION = '1.2.0' unless defined? ::Appium::Capybara::VERSION
|
4
|
+
DATE = '2014-11-24' unless defined? ::Appium::Capybara::DATE
|
5
5
|
end
|
6
6
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
#### v1.2.0 2014-11-24
|
2
|
+
|
3
|
+
- [7c8f2c2](https://github.com/appium/appium_capybara/commit/7c8f2c238059b715488b482415f58f7021f05012) Release 1.2.0
|
4
|
+
- [6dc2f67](https://github.com/appium/appium_capybara/commit/6dc2f6767d7781b9db8fd84fb7a7e2b130548faa) Merge pull request #18 from maudineormsby/fix/modal_accept
|
5
|
+
- [842ae0e](https://github.com/appium/appium_capybara/commit/842ae0e9d6aeba4440c0e995663133da1f450bc4) Rename accept/dismiss modal methods.
|
6
|
+
- [ef8acaa](https://github.com/appium/appium_capybara/commit/ef8acaa50f70c2edc88d5b7f107769c0151b6aed) Merge pull request #15 from randoum/master
|
7
|
+
- [9c765e6](https://github.com/appium/appium_capybara/commit/9c765e611fb917f40d4f116aa3414cf603e4c878) Allow to use different drivers in the same test suite
|
8
|
+
|
9
|
+
|
1
10
|
#### v1.1.0 2014-10-02
|
2
11
|
|
3
12
|
- [88f6b44](https://github.com/appium/appium_capybara/commit/88f6b441e7e3da381a4d48b852bf5b00b04f6a7e) Release 1.1.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- scott.bonebrake@gmail.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib
|