[ui-testing] added test for production order (#10138)

* temporary commit for switching branches

* [ui-tests] added bill_of_materials test

* added warehouses required for production order

* [ui-test] added production order test

* debugging travis failure
This commit is contained in:
Ameya Shenoy
2017-07-31 11:02:28 +05:30
committed by Rushabh Mehta
parent e09b507b6c
commit 4e91f28ce5
7 changed files with 94 additions and 6 deletions

View File

@@ -18,7 +18,8 @@ QUnit.test("test: item", function (assert) {
{item_group: "Products"},
{is_stock_item: is_stock_item},
{standard_rate: keyboard_cost},
{opening_stock: no_of_items_to_stock}
{opening_stock: no_of_items_to_stock},
{default_warehouse: "Stores - RB"}
]
),
() => {
@@ -43,7 +44,8 @@ QUnit.test("test: item", function (assert) {
{item_group: "Products"},
{is_stock_item: is_stock_item},
{standard_rate: screen_cost},
{opening_stock: no_of_items_to_stock}
{opening_stock: no_of_items_to_stock},
{default_warehouse: "Stores - RB"}
]
),
@@ -54,7 +56,8 @@ QUnit.test("test: item", function (assert) {
{item_group: "Products"},
{is_stock_item: is_stock_item},
{standard_rate: CPU_cost},
{opening_stock: no_of_items_to_stock}
{opening_stock: no_of_items_to_stock},
{default_warehouse: "Stores - RB"}
]
),
@@ -62,7 +65,8 @@ QUnit.test("test: item", function (assert) {
() => frappe.tests.make(
"Item", [
{item_code: "Laptop"},
{item_group: "Products"}
{item_group: "Products"},
{default_warehouse: "Stores - RB"}
]
),
() => frappe.tests.make(
@@ -80,7 +84,8 @@ QUnit.test("test: item", function (assert) {
{item_group: "Products"},
{is_stock_item: is_stock_item},
{standard_rate: scrap_cost},
{opening_stock: no_of_items_to_stock}
{opening_stock: no_of_items_to_stock},
{default_warehouse: "Stores - RB"}
]
),