appium_console 0.0.25 → 0.0.26
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 +8 -8
- data/lib/appium_console/version.rb +2 -2
- data/readme.md +6 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDM5YmRhYmZkNTgwOTk1NmYxOWFlMjQxMGI3NjJmZGQ2OWU3ZmQ4ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTI1NjI0NjljNWNiZDAyNjU0MjZjNDkxNGQzZjM4OWZjMWEzYjJjMQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmFiODM2ODYwYzk0MWVjNjc2OTkwZGNmMDE0YjY0MTg5NTJjNmU0NDQyODUz
|
10
|
+
MDNmODEzMGVjOGNiM2UxYjQxZDkwZjhkNDZjOTU2MWVmM2Y4MDU0MWY0NDkz
|
11
|
+
NzZlMWZmMTM3ZTIwNTY2YjM1ZTgzZDQwYjA5ZWYyZGYzZmNiNmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmQxMTgxM2ZjZjdkMmM0ZThiYWEwYjk5NWQxODAwNDQ2ZDFmMmU2MThjMDhl
|
14
|
+
YzgzMTczNTA5YzJmNzVlYzJlMGJkNTY1NDY0ZWJmMjQyNzRmOGMyZjcwZjIz
|
15
|
+
MGNhNzFiMmQwMDY4ZGZhZGJhNzJhODY5ODc5YWEwNjdmODZlODg=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
module AppiumConsole
|
3
|
-
VERSION = '0.0.
|
4
|
-
DATE = '2013-
|
3
|
+
VERSION = '0.0.26' unless defined? ::AppiumConsole::VERSION
|
4
|
+
DATE = '2013-04-05' unless defined? ::AppiumConsole::DATE
|
5
5
|
end
|
data/readme.md
CHANGED
@@ -105,10 +105,14 @@ text | UIAStaticText
|
|
105
105
|
|
106
106
|
--
|
107
107
|
|
108
|
+
#### generic
|
109
|
+
|
108
110
|
- `source` Prints a JSON view of the current page.
|
111
|
+
- `page` Prints the content descriptions and text values on the current page.
|
109
112
|
- `(Element) name(name)` Returns the first element matching name. Android name is the content description.
|
110
113
|
iOS uses accessibility label with a fallback to text.
|
111
114
|
- `(Array<Element>) names(name)` Returns all elements matching name.
|
115
|
+
|
112
116
|
--
|
113
117
|
|
114
118
|
#### alert
|
@@ -262,7 +266,8 @@ require 'json' # for .to_json
|
|
262
266
|
$passed = true
|
263
267
|
|
264
268
|
After do |scenario|
|
265
|
-
|
269
|
+
# Reset scenario unless the feature was tagged @keep
|
270
|
+
$driver.execute_script 'mobile: reset' unless scenario.feature.source_tag_names.include? '@keep'
|
266
271
|
|
267
272
|
if $passed
|
268
273
|
$passed = false if scenario.failed?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appium_lib
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.26
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.26
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|