testcentricity_web 3.2.12 → 3.2.13

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
  SHA256:
3
- metadata.gz: 45255a5e0001ea076f691aed9284b7c1eb4c9857aaa79dcf0845f82290b3bac7
4
- data.tar.gz: 0ebd75ccb27af3be6f4146cf20897fe9be69cb5cdcaf9a0566d1c35c57e68585
3
+ metadata.gz: dd884e7c045d85b1779d0fa20d7e50f0c8f5ccd377c598170c3b71c967b30dc2
4
+ data.tar.gz: 6e3ceb7ece2bf22cc03af85cecf234e229df7d2786000a928348a37d25da6648
5
5
  SHA512:
6
- metadata.gz: 1336183ee836e42e58c0a971ebcd1e4c8eefe2b7cd11b5c7ddebb460426f4f23088d404f66929b5d5fd2255f312dd3c8b54982be45af5367db475a39756924b2
7
- data.tar.gz: 1b352854c16a52970b1e335b1af43412710e9102a69ab70a01a3ebd39d9a6a7f3a3192caa491d063d65ccb7972854188e8672a3803b2da259838e4d3c2f18fce
6
+ metadata.gz: 52e8774769a5be34d58fbb6aeb13837e1ec38e3437ad028ced29cea9559f2ce7d4f8e60c03ea3727f82f1b9212f256a3779ee194410a22907bbabbbfdfb432d8
7
+ data.tar.gz: c63ab4b5407ef7c6525a2bf261486c9ea855045b4dcf289407b2f23bb86b53e6027c73a2465fd491fa5eb16740a56eb0edfd3dfecf0c512bcb5eed8351dd347b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.2.13] - 24-MAR-2020
5
+
6
+ ### Added
7
+ * Added `PageObject.send_keys` method.
8
+
4
9
  ## [3.2.12] - 11-MAR-2020
5
10
 
6
11
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity_web (3.2.12)
4
+ testcentricity_web (3.2.13)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 3.1, < 4)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '3.2.12'
2
+ VERSION = '3.2.13'
3
3
  end
@@ -481,6 +481,17 @@ module TestCentricity
481
481
  page.driver.browser.title
482
482
  end
483
483
 
484
+ # Send keystrokes to the focused element on a Page object
485
+ #
486
+ # @param keys [String] keys
487
+ # @example
488
+ # editor_page.send_keys([:control, 'z'])
489
+ #
490
+ def send_keys(*keys)
491
+ focused_obj = page.driver.browser.switch_to.active_element
492
+ focused_obj.send_keys(*keys)
493
+ end
494
+
484
495
  # Wait until the page object exists, or until the specified wait time has expired. If the wait time is nil, then the wait
485
496
  # time will be Capybara.default_max_wait_time.
486
497
  #
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: 3.2.12
4
+ version: 3.2.13
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: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler