testcentricity_web 0.9.7 → 0.9.8

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: dcb7185a4babab7ae5d471ae10e0544f31ab000a
4
- data.tar.gz: 3c453c061dab134ad5a36872b2b94c3814286db2
3
+ metadata.gz: 0420819e0943574b979c1320b61eb1eff1bf2048
4
+ data.tar.gz: f4a26eb7cfed898ca65d8cede6da703b1d0f1c82
5
5
  SHA512:
6
- metadata.gz: 931e586bbfc70cd878a7fb194d8c1fdea0acccd57ee983ee250f9f2f36340630e28802a7c1760e7f915758a6db6d5f45a06feb1745c73190e3891a18f924929c
7
- data.tar.gz: db9449f9e74e9794ce790c8ac1ab502acd50a8be721602fed93e672f7e14f0dce50ef81ca0cb377a47cacab955147386606f133d91418069ed7c3db9e166473e
6
+ metadata.gz: 75ed89fe11a8b182650d2eab3296faccc6d61d290717fb7a01d9fdfeefcfa8c79eec304a9abde520c66015477a8a5124871b3ec4ce3699fe5ca94d13ea974bf8
7
+ data.tar.gz: de6bf1f84b62bd33e37a5ff894f452b13af17d9d761150d96410ed008a9cf87bafd249968dbf2caeb7ea4057c8011b792e661bc3fd8640c3c6849717a83a99c2
@@ -21,7 +21,8 @@ module TestCentricity
21
21
  end
22
22
  end
23
23
 
24
- def get_list_items
24
+ def get_list_items(element_spec = nil)
25
+ define_list_elements(element_spec) unless element_spec.nil?
25
26
  obj, _ = find_element
26
27
  object_not_found_exception(obj, nil)
27
28
  obj.all(@list_item).collect(&:text)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.9.7'
2
+ VERSION = '0.9.8'
3
3
  end
@@ -57,7 +57,7 @@ module TestCentricity
57
57
  deviceName: ENV['APP_DEVICE']
58
58
  }
59
59
  desired_capabilities['avd'] = ENV['APP_DEVICE'] if ENV['APP_PLATFORM_NAME'].downcase.to_sym == :android
60
- desired_capabilities['deviceOrientation'] = ENV['ORIENTATION'] if ENV['ORIENTATION']
60
+ desired_capabilities['orientation'] = ENV['ORIENTATION'].upcase if ENV['ORIENTATION']
61
61
  desired_capabilities['udid'] = ENV['APP_UDID'] if ENV['APP_UDID']
62
62
  desired_capabilities['safariInitialUrl'] = ENV['APP_INITIAL_URL'] if ENV['APP_INITIAL_URL']
63
63
  desired_capabilities['safariAllowPopups'] = ENV['APP_ALLOW_POPUPS'] if ENV['APP_ALLOW_POPUPS']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  requirements: []
217
217
  rubyforge_project:
218
- rubygems_version: 2.5.1
218
+ rubygems_version: 2.6.5
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: A Page Object and Data Object Model Framework for desktop and mobile web