mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
[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:
committed by
Rushabh Mehta
parent
e09b507b6c
commit
4e91f28ce5
@@ -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"}
|
||||
]
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user