Fixed ui tests for production order
diff --git a/erpnext/manufacturing/doctype/production_order/test_production_order.js b/erpnext/manufacturing/doctype/production_order/test_production_order.js
index 7b6f11e..670f0b0 100644
--- a/erpnext/manufacturing/doctype/production_order/test_production_order.js
+++ b/erpnext/manufacturing/doctype/production_order/test_production_order.js
@@ -57,14 +57,7 @@
() => frappe.timeout(2.5),
// Confirm the production order timesheet, save and submit it
- () => frappe.click_link("Timesheet"),
- () => frappe.timeout(2.5),
- () => {
- let name = cur_list.data[0].name;
- frappe.click_link(name);
- },
- () => frappe.timeout(2.5),
- () => frappe.click_button("Save"),
+ () => frappe.click_link("TS-00"),
() => frappe.timeout(1),
() => frappe.click_button("Submit"),
() => frappe.timeout(1),