ae_page_objects 4.3.1.tim1 → 4.3.1.tim2

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: 7f569ecce06125424916611b6f8ebc2b78709c1b0d15e02f49e503b1aae0c845
4
- data.tar.gz: 374ef8d80600c7a74951a876235776598d124512ab4a6c758e722e38c7f4d20c
3
+ metadata.gz: 58d8bc18133617527821d0a7c7be47c0528978567b66277aa9a1ff0b0cbdcaa8
4
+ data.tar.gz: 0a622745a70d3a4d9de923ee27295377096203a170bddcf8517acaee028ba19f
5
5
  SHA512:
6
- metadata.gz: feddd6e4fefcbe544a2e104ea7b529776907fcf5781fc30c4880778391d625b07b649cfee2ea8ef8b03cd40513661465cd935156cfc40046e44ac4211834e52d
7
- data.tar.gz: 0efba04d353e4634b9cecc851bb5452545ecff929e218795813453f2a015c2e5a597a88593b26fdefbad07f55eeb4afbd6532d85f4a5baed922aa0988002a0ef
6
+ metadata.gz: 9a512bbe4c7fa4bfb6d4073d6fce4a0f40103d1825a6d6a54139e32c0717d2708dfe255ae0124a6cf98869490d74d5eef3fd009bb425234c62a7e29200672f7b
7
+ data.tar.gz: db42b665475663853467ca009fdac381918bc569fa029aded63237ffbd21eccbf681c0e305399787e648d1b4bc5c1847a2c7f66d6c58da15a2f3bdd29b620529
@@ -16,31 +16,21 @@ module AePageObjects
16
16
  end
17
17
 
18
18
  def visible?(options = {})
19
- wait_until_visible(0)
20
- true
21
- rescue ElementNotVisible
22
- false
19
+ reload_element
20
+ @loaded_element&.visible?
23
21
  end
24
22
 
25
23
  def hidden?(options = {})
26
- wait_until_hidden(0)
27
- true
28
- rescue ElementNotHidden
29
- false
24
+ !visible?
30
25
  end
31
26
 
32
27
  def present?(options = {})
33
- wait_until_present(0)
34
- true
35
- rescue ElementNotPresent
36
- false
28
+ reload_element
29
+ !@loaded_element.nil?
37
30
  end
38
31
 
39
32
  def absent?(options = {})
40
- wait_until_absent(0)
41
- true
42
- rescue ElementNotAbsent
43
- false
33
+ !present?
44
34
  end
45
35
 
46
36
  def presence
@@ -1,3 +1,3 @@
1
1
  module AePageObjects
2
- VERSION = '4.3.1.tim1'.freeze
2
+ VERSION = '4.3.1.tim2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ae_page_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1.tim1
4
+ version: 4.3.1.tim2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio Engineering