ole-qa-framework 3.13.3 → 3.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/ole_qa_framework/COMPATIBILITY.rb +1 -1
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- data/lib/olels/common/editor.rb +5 -4
- data/lib/olels/pages/loan.rb +3 -1
- data/lib/olels/pages/renewal.rb +33 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5922e1bc48ab9060dc70558321c6fb89b70c64eb
|
4
|
+
data.tar.gz: 7a0b7e57c536190f5ab054a3b19a98f0e2cf2f5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0d44f9a3e2c31ef8129810e4af5bfb2c4882a2d31d09fa00e3e43d9e4fce9926f3579f12c3c5e8909cf0e6035614ba537233424a8664cd5c56426a10d398411
|
7
|
+
data.tar.gz: 43016199591108d07ce183c86ccaf4207685eb9a0247c2113da2581a0818f489e4e4afb6e84e88cb3c7b398aedfe1bcb82329ffbcaaada3e4e97ead46a31ac42
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
### v3.13.4 - 2014/04/18
|
2
|
+
|
3
|
+
* Update Loan Screen
|
4
|
+
* Add renewal_box element
|
5
|
+
* Add renewal screen base class
|
6
|
+
* Update & Add Marc Editor Elements
|
7
|
+
* Updated .add_instance_button
|
8
|
+
* Updated .add_item_button
|
9
|
+
* Updated .delete_bib_button
|
10
|
+
* Added .add_einstance_button
|
11
|
+
|
1
12
|
### v3.13.3 - 2014/04/14
|
2
13
|
|
3
14
|
* Update Marc Editor base class
|
data/lib/olels/common/editor.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
module OLE_QA::Framework::OLELS
|
16
16
|
|
17
|
-
# This represents the base object for the Describe Editor
|
17
|
+
# This represents the base object for the Describe Editor
|
18
18
|
# It generates elements common to all three editor screens:
|
19
19
|
# - Bibliographic Editor
|
20
20
|
# - Instance Editor (for Holdings)
|
@@ -51,11 +51,12 @@ module OLE_QA::Framework::OLELS
|
|
51
51
|
element(:close_button) {b.button(:id => "closeEditor")}
|
52
52
|
element(:return_to_search_button) {b.button(:id => "returnToSearch_button")}
|
53
53
|
# Navigation Area Elements
|
54
|
-
element(:delete_bib_button) {b.
|
55
|
-
element(:add_instance_button) {b.
|
54
|
+
element(:delete_bib_button) {b.button(:title => 'Delete Bib')}
|
55
|
+
element(:add_instance_button) {b.button(:title => 'Add Instance')}
|
56
|
+
element(:add_einstance_button) {b.button(:title => 'Add EInstance')}
|
56
57
|
# @note Vakata Context Menu items are only present on the screen after the containing menu header has been right-clicked.
|
57
58
|
element(:delete_instance_button) {b.div(:id => 'vakata-contextmenu').ul.li(:index => 0).a(:rel => "Delete")}
|
58
|
-
element(:add_item_button) {b.
|
59
|
+
element(:add_item_button) {b.button(:title => 'Add Item')}
|
59
60
|
element(:delete_item_button) {b.div(:id => 'vakata-contextmenu').ul.li(:index => 0).a(:rel => 'Delete')}
|
60
61
|
end
|
61
62
|
|
data/lib/olels/pages/loan.rb
CHANGED
@@ -62,6 +62,8 @@ module OLE_QA::Framework::OLELS
|
|
62
62
|
element(:patron_preferred_address) {b.span(:id => 'patronPreferredAddress_control')}
|
63
63
|
element(:patron_phone_number) {b.span(:id => 'patronPhone_control')}
|
64
64
|
element(:patron_email) {b.span(:id => 'patronEmail_control')}
|
65
|
+
# Special
|
66
|
+
element(:renewal_box) {b.div(:id => 'RenewalDueDateSection-HorizontalBoxSection')}
|
65
67
|
end
|
66
68
|
|
67
69
|
# Wait for the return button to be present.
|
@@ -100,4 +102,4 @@ module OLE_QA::Framework::OLELS
|
|
100
102
|
function(:co_item_claims_return_date) {|which = 1| b.span(:id => "claimsReturnDateRenewal_line#{which-1}_control")}
|
101
103
|
end
|
102
104
|
end
|
103
|
-
end
|
105
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright 2005-2013 The Kuali Foundation
|
2
|
+
#
|
3
|
+
# Licensed under the Educational Community License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at:
|
6
|
+
#
|
7
|
+
# http://www.opensource.org/licenses/ecl2.php
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module OLE_QA::Framework::OLELS
|
16
|
+
# The renewal popup page on the loan screen in the OLE Library System.
|
17
|
+
class Renewal < OLE_QA::Framework::Page
|
18
|
+
def initialize(ole_session)
|
19
|
+
# Initialize to the loan screen URL as this page is not accessed independently.
|
20
|
+
url = ole_session.url + 'portal.do?channelTitle=Loan&channelUrl='
|
21
|
+
url += ole_session.url + 'ole-kr-krad/loancontroller?viewId=PatronItemView&methodToCall=start'
|
22
|
+
super(ole_session, url)
|
23
|
+
end
|
24
|
+
|
25
|
+
def set_elements
|
26
|
+
super
|
27
|
+
end
|
28
|
+
|
29
|
+
def set_functions
|
30
|
+
super
|
31
|
+
end
|
32
|
+
end
|
33
|
+
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.13.
|
4
|
+
version: 3.13.4
|
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-04-
|
11
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -203,6 +203,7 @@ files:
|
|
203
203
|
- lib/olels/pages/old_describe_workbench.rb
|
204
204
|
- lib/olels/pages/patron.rb
|
205
205
|
- lib/olels/pages/patron_lookup.rb
|
206
|
+
- lib/olels/pages/renewal.rb
|
206
207
|
- lib/olels/pages/request.rb
|
207
208
|
- lib/olels/pages/request_lookup.rb
|
208
209
|
- lib/olels/pages/return.rb
|
@@ -242,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
243
|
version: '0'
|
243
244
|
requirements: []
|
244
245
|
rubyforge_project:
|
245
|
-
rubygems_version: 2.2.
|
246
|
+
rubygems_version: 2.2.0
|
246
247
|
signing_key:
|
247
248
|
specification_version: 4
|
248
249
|
summary: Kuali Open Library Environment
|