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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/ole-qa-framework.rb +2 -0
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- data/spec/common/browser_spec.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 495f2e94f44e8ed676158fdb3fc8199a800e4298
|
4
|
+
data.tar.gz: ba4a3e40ac0beb64192386cff9d1f15266da78ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/ole-qa-framework.rb
CHANGED
@@ -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.
|
data/spec/common/browser_spec.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|