testcentricity_web 3.2.20 → 3.2.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.md +1 -1
- data/README.md +1 -1
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +16 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa65a9fd864b32c3b3b83f570ae9a6990d6b2072b75935fcf8489e26ff5cb759
|
4
|
+
data.tar.gz: da08a618537d5dc3930c3c5740d5a05a73dab8a017ad497cec4aa154956d162d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d6968587d9580dea196021b2b4631b690393b4300883c3e036a5df215ae8f679e1f51bdda1c38f2aa7a221f374ee0bdc400fe7f9a7db4e31a8bcac9675b84ef
|
7
|
+
data.tar.gz: a6ff4c34c5260f4bd8dbaef959635ff79723587e2de0498255a749593778536e867264e8fab13e97dfcf315b9fca4cc711e1d77c1feb277738d2defcba8db305
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
|
5
|
+
## [3.2.21] - 04-FEB-2021
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
* `UIElement.hover_at` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
9
|
+
visible.
|
10
|
+
|
11
|
+
## [3.2.20] - 21-JAN-2021
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
* `UIElement.hover` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
15
|
+
visible.
|
16
|
+
|
4
17
|
## [3.2.19] - 05-JAN-2021
|
5
18
|
|
6
19
|
### Fixed
|
data/Gemfile.lock
CHANGED
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -1673,7 +1673,7 @@ landscape orientation running on the BrowserStack service:
|
|
1673
1673
|
|
1674
1674
|
## Copyright and License
|
1675
1675
|
|
1676
|
-
TestCentricity™ Framework is Copyright (c) 2014-
|
1676
|
+
TestCentricity™ Framework is Copyright (c) 2014-2021, Tony Mrozinski.
|
1677
1677
|
All rights reserved.
|
1678
1678
|
|
1679
1679
|
Redistribution and use in source and binary forms, with or without
|
@@ -528,11 +528,17 @@ module TestCentricity
|
|
528
528
|
|
529
529
|
# Hover the cursor over an object
|
530
530
|
#
|
531
|
+
# @param visible [Boolean, Symbol] Only find elements with the specified visibility:
|
532
|
+
# * true - only finds visible elements.
|
533
|
+
# * false - finds invisible _and_ visible elements.
|
534
|
+
# * :all - same as false; finds visible and invisible elements.
|
535
|
+
# * :hidden - only finds invisible elements.
|
536
|
+
# * :visible - same as true; only finds visible elements.
|
531
537
|
# @example
|
532
538
|
# basket_link.hover
|
533
539
|
#
|
534
|
-
def hover
|
535
|
-
obj, type = find_element
|
540
|
+
def hover(visible = true)
|
541
|
+
obj, type = find_element(visible)
|
536
542
|
object_not_found_exception(obj, type)
|
537
543
|
obj.hover
|
538
544
|
end
|
@@ -541,11 +547,17 @@ module TestCentricity
|
|
541
547
|
#
|
542
548
|
# @param x [Integer] X offset
|
543
549
|
# @param y [Integer] Y offset
|
550
|
+
# @param visible [Boolean, Symbol] Only find elements with the specified visibility:
|
551
|
+
# * true - only finds visible elements.
|
552
|
+
# * false - finds invisible _and_ visible elements.
|
553
|
+
# * :all - same as false; finds visible and invisible elements.
|
554
|
+
# * :hidden - only finds invisible elements.
|
555
|
+
# * :visible - same as true; only finds visible elements.
|
544
556
|
# @example
|
545
557
|
# timeline_bar.hover_at(100, 5)
|
546
558
|
#
|
547
|
-
def hover_at(x, y)
|
548
|
-
obj, = find_element
|
559
|
+
def hover_at(x, y, visible = true)
|
560
|
+
obj, = find_element(visible)
|
549
561
|
raise "UI #{object_ref_message} not found" unless obj
|
550
562
|
obj.hover_at(x, y)
|
551
563
|
end
|
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.
|
4
|
+
version: 3.2.21
|
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: 2021-
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|