ole-qa-framework 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +17 -1
- data/lib/common/page.rb +1 -1
- data/lib/ole-qa-framework.rb +1 -1
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
### v2.
|
1
|
+
### v2.4.1 - 2013/07/30
|
2
|
+
|
3
|
+
* Small Fixes
|
4
|
+
* Update .open method to default to @url
|
5
|
+
* Update documentation
|
6
|
+
* Update .login function on page - return false if no response
|
7
|
+
|
8
|
+
### v2.4.0 - 2013/07/25
|
9
|
+
|
10
|
+
* Unify URLs for Unified OLE Interface
|
11
|
+
* .url method is main URL on Framework Session
|
12
|
+
* Aliased for backwards compatibility:
|
13
|
+
* .base_url -> .url
|
14
|
+
* .ls_url -> .url
|
15
|
+
* .fs_url -> .url
|
16
|
+
|
17
|
+
### v2.3.0 - 2013/07/24
|
2
18
|
|
3
19
|
* Pages Added
|
4
20
|
* OLEFS
|
data/lib/common/page.rb
CHANGED
@@ -85,7 +85,7 @@ module OLE_QA::Framework
|
|
85
85
|
# Login as a given user.
|
86
86
|
# @param username [String] The username to use.
|
87
87
|
# @return [Boolean] Whether the login process succeeded.
|
88
|
-
function(:login) {|as_who = 'ole-khuntley'| raise OLE_QA::Framework::Error,"Login field not present on this page: #{self.class.name}" unless login_field.present? ; login_field.set(as_who) ; login_button.click ; login_confirmation.text.match(/#{as_who}/)}
|
88
|
+
function(:login) {|as_who = 'ole-khuntley'| raise OLE_QA::Framework::Error,"Login field not present on this page: #{self.class.name}" unless login_field.present? ; login_field.set(as_who) ; login_button.click ; if login_confirmation.present? then login_confirmation.text.match(/#{as_who}/) ? true : false else false end}
|
89
89
|
# Logout from previous login.
|
90
90
|
# @return [Boolean] Whether the logout process succeeded.
|
91
91
|
function(:logout) { logout_button.click ; login_confirmation.present? ? false : true}
|
data/lib/ole-qa-framework.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ole-qa-framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|