ole-qa-framework 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -41,6 +41,7 @@ module OLE_QA::Framework::OLEFS
|
|
41
41
|
element(:format_selector) {b.select_list(:id => "document.item[#{@line_id}].formatTypeId")}
|
42
42
|
element(:category_selector) {b.select_list(:id => "document.item[#{@line_id}].categoryId")}
|
43
43
|
element(:discount_type_selector) {b.select_list(:id => "document.item[#{@line_id}].itemDiscountType")}
|
44
|
+
element(:location_selector) {b.select_list(:id => "document.item[#{@line_id}].itemLocation")}
|
44
45
|
# Buttons, Checkboxes, Etc.
|
45
46
|
element(:delete_button) {b.input(:title => "Delete Item #{@line_number}")}
|
46
47
|
element(:route_to_requestor_checkbox) {b.checkbox(:id => "document.item[#{@line_id}].itemRouteToRequestor")}
|
@@ -42,6 +42,7 @@ module OLE_QA::Framework::OLEFS
|
|
42
42
|
element(:discount_field) {b.text_field(:id => "newPurchasingItemLine.itemDiscount")}
|
43
43
|
element(:discount_type_selector) {b.select_list(:id => "newPurchasingItemLine.itemDiscountType")}
|
44
44
|
element(:add_button) {b.input(:name => "methodToCall.addItem")}
|
45
|
+
element(:location_selector) {b.select_list(:id => 'newPurchasingItemLine.itemLocation')}
|
45
46
|
end
|
46
47
|
end
|
47
48
|
end
|
@@ -88,6 +88,7 @@ describe 'An OLEFS line item' do
|
|
88
88
|
elements.should include(:closed_unit_cost_field)
|
89
89
|
elements.should include(:closed_discount_field)
|
90
90
|
elements.should include(:closed_discount_type_field)
|
91
|
+
elements.should include(:location_selector)
|
91
92
|
#TODO add the methods below when OLE-4329 is fixed.
|
92
93
|
# elements.should include(:notes_toggle)
|
93
94
|
# methods_array.include(:copies_toggle)
|
@@ -104,8 +105,8 @@ describe 'An OLEFS line item' do
|
|
104
105
|
elements = @new_line_item.methods
|
105
106
|
elements.should include(:new_bib_option)
|
106
107
|
elements.should include(:existing_bib_option)
|
107
|
-
elements.should include(:bib_search_button)
|
108
108
|
elements.should include(:new_bib_button)
|
109
|
+
elements.should include(:existing_bib_button)
|
109
110
|
elements.should include(:item_type_selector)
|
110
111
|
elements.should include(:copies_field)
|
111
112
|
elements.should include(:parts_field)
|
@@ -119,6 +120,7 @@ describe 'An OLEFS line item' do
|
|
119
120
|
elements.should include(:discount_field)
|
120
121
|
elements.should include(:discount_type_selector)
|
121
122
|
elements.should include(:add_button)
|
123
|
+
elements.should include(:location_selector)
|
122
124
|
end
|
123
125
|
|
124
126
|
it 'should create an accounting line' do
|