qat-web 9.0.0 → 9.0.2

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: 0a35db3e75dfe2941b35971978f18ba47f9412fc1d6263e3b6e9a11f4797d908
4
- data.tar.gz: f8cd5a6808d3ee67ca40084a016c84fbd81fa0ea87ebb66c66a4c54cf6ebd9fa
3
+ metadata.gz: 0b15a78e9dc739fbf74e58dbd007fa1a962fd443dfca5e21248f007c91807b5d
4
+ data.tar.gz: 0c58c589368a3b1c659cc052d45fa76e71eef04ed462bf6de15f14ee71046f80
5
5
  SHA512:
6
- metadata.gz: 2b534d5664216038212ed1c6f520976a76f08b8d81a0fb83ee5e02ae2da4263facbda5ea4dfd5fa79518a8bbce3b83711b4e94cdbe6197758089db9708ea1e67
7
- data.tar.gz: 1c17762822215089fabc4e4d0dd6435dd2a7bf897b11dfb6d1e6245c477cc933366b992e0236f7492f1622492c2b53808d31183c77330e60b079b4d2211bb6fb
6
+ metadata.gz: a542e63026fecff79837d154ec233ded53f0cc4b15021b01a81d826c62517d88176d1d48c94e01aafdc026abaa32749484520f7eef8a62db17ca8960eee3b3d7
7
+ data.tar.gz: e9f683d0de8a77f5364dab53810a0e805032a668910191ebe9a3d9c9fb0d09cba44711223202db686e00767a3486eaee720c282c8c35fb0ed2f56871b2456088
@@ -17,7 +17,7 @@ module QAT::Web
17
17
  #@return [String/NilClass] File path to where the HTML dump file was saved or nil if the browser doesn't support HTML dumps
18
18
  #@since 1.0.0
19
19
  def take_html_dump(page=Capybara.current_session, path=html_dump_path)
20
- raise ArgumentError.new "File #{path} already exists! Choose another filename" if ::File.exists? path
20
+ raise ArgumentError.new "File #{path} already exists! Choose another filename" if ::File.exist? path
21
21
  log.info { "Saving HTML dump to #{path}" }
22
22
  path = read_html_dump page ,path
23
23
  log.info { "HTML dump available" }
@@ -18,7 +18,7 @@ module QAT::Web
18
18
  #@since 1.0.0
19
19
  def take_screenshot page = Capybara.current_session , path = screenshot_path
20
20
  log.info { "Saving screenshot to #{path}" }
21
- raise ArgumentError.new "File #{path} already exists! Choose another filename" if ::File.exists? path
21
+ raise ArgumentError.new "File #{path} already exists! Choose another filename" if ::File.exist? path
22
22
  path = read_screenshot_file page, path
23
23
  log.info { "Screenshot available" }
24
24
  path
@@ -4,6 +4,6 @@ module QAT
4
4
  #@since 1.0.0
5
5
  module Web
6
6
  # Represents QAT-Web's version
7
- VERSION = '9.0.0'
7
+ VERSION = '9.0.2'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qat-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - QAT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: qat-cucumber