ole-qa-framework 2.7.1 → 2.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- data/lib/olefs/pages/invoice.rb +2 -1
- data/spec/olefs/invoice_spec.rb +2 -0
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/olefs/pages/invoice.rb
CHANGED
@@ -72,6 +72,7 @@ module OLE_QA::Framework::OLEFS
|
|
72
72
|
element(:close_button) {b.button(:id => 'uclose')}
|
73
73
|
element(:cancel_button) {b.a(:id => 'ucancel')}
|
74
74
|
element(:calculate_button) {b.button(:text => /calculate/)}
|
75
|
+
element(:messages) {b.ul(:id => 'pageValidationList').lis}
|
75
76
|
end
|
76
77
|
|
77
78
|
# Wait on these elements before the page is considered to have fully loaded.
|
@@ -82,7 +83,7 @@ module OLE_QA::Framework::OLEFS
|
|
82
83
|
|
83
84
|
def set_functions
|
84
85
|
super
|
85
|
-
|
86
|
+
function(:message) {|which = 1| b.ul(:id => 'pageValidationList').li(:index => which - 1)}
|
86
87
|
end
|
87
88
|
end
|
88
89
|
end
|
data/spec/olefs/invoice_spec.rb
CHANGED
@@ -71,10 +71,12 @@ describe 'An OLE Invoice' do
|
|
71
71
|
elements.include?(:close_button).should be_true
|
72
72
|
elements.include?(:cancel_button).should be_true
|
73
73
|
elements.include?(:calculate_button).should be_true
|
74
|
+
elements.include?(:messages).should be_true
|
74
75
|
end
|
75
76
|
|
76
77
|
it 'should have invoice functions' do
|
77
78
|
functions = @invoice.functions
|
79
|
+
functions.include?(:message).should be_true
|
78
80
|
end
|
79
81
|
|
80
82
|
it 'should have a purchase order line' do
|
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.7.
|
4
|
+
version: 2.7.2
|
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-10-
|
12
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|