ole-qa-framework 3.13.2 → 3.13.3
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/common/page.rb +4 -1
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- data/lib/olels/common/editor.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3838c46818ba0cca83159abf90d1584e7c95917b
|
4
|
+
data.tar.gz: 4472d1dbdb9afb0a75031bcff5ba402b3844665a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3346daed202481a55543bb5678dd0beb201f9742fcfed7e652077762599dd235e03464fde7024c3bc2a4c052f92fcb87b32f2c7cb08d5a8419a03457ec56b5cb
|
7
|
+
data.tar.gz: 30af91a926dc2cda4e108633cac7fb141639c037f577c59e25f9253edec2d86016835f59717ee4e46ed5c6712b812fc0a2e67a35f45c72cdb75367d9fcca9836
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### v3.13.3 - 2014/04/14
|
2
|
+
|
3
|
+
* Update Marc Editor base class
|
4
|
+
* Remove :title element as it no longer exists
|
5
|
+
* Update Page base class
|
6
|
+
* Add :wait_on attribute to show wait_for_elements list
|
7
|
+
|
1
8
|
### v3.13.2 - 2014/03/27
|
2
9
|
|
3
10
|
* Update Workbench Line Elements
|
data/lib/common/page.rb
CHANGED
@@ -26,6 +26,9 @@ module OLE_QA::Framework
|
|
26
26
|
# An array containing the name (Symbol) of each line object on the page object.
|
27
27
|
attr_reader :lines
|
28
28
|
|
29
|
+
# An array containing the elements (Symbol) to wait on before the page is considered loaded.
|
30
|
+
attr_reader :wait_on
|
31
|
+
|
29
32
|
include OLE_QA::Framework::Page_Helpers
|
30
33
|
|
31
34
|
# @param ole_session [Object] The OLE_QA::Framework::Session instance in which the page should load.
|
@@ -119,4 +122,4 @@ module OLE_QA::Framework
|
|
119
122
|
function(:logout) { logout_button.click ; login_confirmation.present? ? false : true}
|
120
123
|
end
|
121
124
|
end
|
122
|
-
end
|
125
|
+
end
|
data/lib/olels/common/editor.rb
CHANGED
@@ -43,7 +43,6 @@ module OLE_QA::Framework::OLELS
|
|
43
43
|
# despite their commonality.
|
44
44
|
def set_elements
|
45
45
|
super
|
46
|
-
element(:title) {b.h2(:class => "uif-headerText").span}
|
47
46
|
element(:message) {b.li(:class => 'uif-infoMessageItem')}
|
48
47
|
element(:messages) {b.lis(:class => 'uif-infoMessageItem')}
|
49
48
|
element(:message_header) {b.h3(:class => 'uif-pageValidationHeader')}
|
@@ -60,11 +59,6 @@ module OLE_QA::Framework::OLELS
|
|
60
59
|
element(:delete_item_button) {b.div(:id => 'vakata-contextmenu').ul.li(:index => 0).a(:rel => 'Delete')}
|
61
60
|
end
|
62
61
|
|
63
|
-
# Designate elements always expected to be present once the editor has finished loading.
|
64
|
-
def wait_for_elements
|
65
|
-
@wait_on << :title
|
66
|
-
end
|
67
|
-
|
68
62
|
# Define commonly-used functions on Editor page objects.
|
69
63
|
def set_functions
|
70
64
|
super
|
@@ -82,4 +76,4 @@ module OLE_QA::Framework::OLELS
|
|
82
76
|
function(:message_count) { if message_header.present? then message_header.text.match(/\d(?=\smessage)/).to_s else "0" end}
|
83
77
|
end
|
84
78
|
end
|
85
|
-
end
|
79
|
+
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.3
|
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-
|
11
|
+
date: 2014-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
242
|
version: '0'
|
243
243
|
requirements: []
|
244
244
|
rubyforge_project:
|
245
|
-
rubygems_version: 2.2.
|
245
|
+
rubygems_version: 2.2.2
|
246
246
|
signing_key:
|
247
247
|
specification_version: 4
|
248
248
|
summary: Kuali Open Library Environment
|