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 CHANGED
@@ -1,3 +1,9 @@
1
+ ### v2.7.2 - 2013/10/10
2
+
3
+ * OLEFS - Invoice Document
4
+ * Add .messages element (multiple element array)
5
+ * Add .message function (defaults to 1, selectable by 1-based index)
6
+
1
7
  ### v2.7.1 - 2013/10/09
2
8
 
3
9
  * OLEFS - Invoice Document
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '2.7.1'
18
+ VERSION = '2.7.2'
19
19
  end
20
20
  end
@@ -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
@@ -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.1
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-09 00:00:00.000000000 Z
12
+ date: 2013-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler