appium_capybara 0.0.3 → 0.0.4
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: a40bfe134ed40216b27a32ff34b5393e1f8f5404
|
4
|
+
data.tar.gz: ca0f0703b88553cfabbe209307722fd3a5c140f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e34986316ff73b397de699b6f2bb3ed664f35a9404544b39f146f7a2749768de45cb97f93b2ca4481c96eb38efbd80927777875bf38968eb10232698bcf576
|
7
|
+
data.tar.gz: 0f18b9099c501e0806bcd0c6484a501029ee4e63c04f2d2dae02bcffe32c4a4327d3fd457d53a3edb76b249ffa02284858545b06e5bf0c360fa1a8ecc2d330ab
|
@@ -51,6 +51,16 @@ module Appium::Capybara
|
|
51
51
|
@browser = nil
|
52
52
|
end
|
53
53
|
|
54
|
+
def current_url
|
55
|
+
raise NotImplementedError,
|
56
|
+
"Appium::Capybara::Driver does not support current_url because it does not apply to mobile applications"
|
57
|
+
end
|
58
|
+
|
59
|
+
def visit(path)
|
60
|
+
raise NotImplementedError,
|
61
|
+
"Appium::Capybara::Driver does not support visit(path) because it does not apply to mobile applications"
|
62
|
+
end
|
63
|
+
|
54
64
|
def dismiss_alert
|
55
65
|
browser.alert_dismiss
|
56
66
|
end
|
@@ -4,7 +4,8 @@ module Capybara
|
|
4
4
|
# Next line is a work around for issue https://github.com/jnicklas/capybara/issues/1237
|
5
5
|
if @touched && driver.browser_initialized?
|
6
6
|
driver.reset!
|
7
|
-
|
7
|
+
# Ugly hack to not run this assertion for Appium
|
8
|
+
assert_no_selector(:xpath, "/html/body/*") unless driver.instance_of? Appium::Capybara::Driver
|
8
9
|
@touched = false
|
9
10
|
end
|
10
11
|
raise_server_error!
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Appium
|
2
2
|
module Capybara
|
3
|
-
VERSION = '0.0.
|
4
|
-
DATE = '2014-08-
|
3
|
+
VERSION = '0.0.4' unless defined? ::Appium::Capybara::VERSION
|
4
|
+
DATE = '2014-08-07' unless defined? ::Appium::Capybara::DATE
|
5
5
|
end
|
6
6
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#### v0.0.4 2014-08-07
|
2
|
+
|
3
|
+
- [16061f4](https://github.com/appium/appium_capybara/commit/16061f43ef4ac0796bc05f9d4af9e22e58d769e1) Release 0.0.4
|
4
|
+
- [be07877](https://github.com/appium/appium_capybara/commit/be078778c265a6483c54290e87baff786312f495) Fixed crash that sometimes occurs in session.reset! and added better error messages for driver's visit and current_url methods
|
5
|
+
|
6
|
+
|
1
7
|
#### v0.0.3 2014-08-06
|
2
8
|
|
3
9
|
- [ee4a9bd](https://github.com/appium/appium_capybara/commit/ee4a9bdab696e5e516ee92d7a9db1e325940fcaf) Release 0.0.3
|
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: 0.0.
|
4
|
+
version: 0.0.4
|
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-08-
|
12
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib
|