ole-qa-framework 3.9.8 → 3.10.0

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: 844c9e1bc07c18bac7ba5f22c815f3f66c7e409b
4
- data.tar.gz: 9dbc49b19d1f8f917bc45950bed4b4954f318ccc
3
+ metadata.gz: 495f2e94f44e8ed676158fdb3fc8199a800e4298
4
+ data.tar.gz: ba4a3e40ac0beb64192386cff9d1f15266da78ca
5
5
  SHA512:
6
- metadata.gz: 9564dcfb1decef79c4d744600e959f640f903673fcf23ea6ed42e7516aeca82cf38561ae2a5ed33b18ffa4bcb378f86459b9830cdbc835e73046be1c44c95004
7
- data.tar.gz: 433a7909e4e8930470bfb8dbebfb0b734a6e0304b8b3760c93244b2dd5ff04b2933f1490aba22f3b82fc0286ac0ad62f2bdab8125b724c4eb07d7c92bc7b6a4a
6
+ metadata.gz: 56a8033be9b1b96cc5ba9ef22606c02d0e31085380903f1700409faa238eb8283be28d77c188716e2a2bdbf6a3e40d9cf9d683ce99568ba0456ec9f5d864becd
7
+ data.tar.gz: f828a22be7e5e29e6135df7694930a457c857f354aa43321be04cb26b03b50bcde135edbd82dc6fbd9ab1df014b18c930853066b88c8aa2131a962ff0f6fb222
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### v3.10.0 - 2014/02/18
2
+
3
+ * Default Timeout Upgrade
4
+ * Watir-Webdriver in 0.6.5 introduced a customizable default timeout.
5
+ The Framework's default timeout setting (:explicit_wait => NN)
6
+ now takes advantage of this feature.
7
+
1
8
  ### v3.9.8 - 2014/02/17
2
9
 
3
10
  * Batch Process Page
@@ -165,6 +165,8 @@ module OLE_QA
165
165
  @browser.driver.manage.timeouts.implicit_wait = @options[:implicit_wait]
166
166
  end
167
167
 
168
+ # Set cutomizable default timeout on Watir-Webdriver (v0.6.5+).
169
+ Watir.default_timeout = @explicit_wait
168
170
  end
169
171
 
170
172
  # Access Watir-Webdriver's browser session.
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '3.9.8'
18
+ VERSION = '3.10.0'
19
19
  end
20
20
  end
@@ -19,7 +19,7 @@ require "spec_helper"
19
19
  describe "The Watir Webdriver" do
20
20
 
21
21
  before :all do
22
- @ole = OLE_QA::Framework::Session.new
22
+ @ole = OLE_QA::Framework::Session.new(:explicit_wait => 45)
23
23
  end
24
24
 
25
25
  after :all do
@@ -34,4 +34,8 @@ describe "The Watir Webdriver" do
34
34
  @ole.browser.goto("http://www.google.com")
35
35
  @ole.browser.title.should == "Google"
36
36
  end
37
+
38
+ it 'should have a customized default timeout' do
39
+ Watir.default_timeout.should eq(45)
40
+ end
37
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ole-qa-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.8
4
+ version: 3.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jain Waldrip
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-17 00:00:00.000000000 Z
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler