test fixed (#12094)

diff --git a/erpnext/hr/doctype/payroll_entry/test_payroll_entry.js b/erpnext/hr/doctype/payroll_entry/test_payroll_entry.js
index 05cd66f..d24f243 100644
--- a/erpnext/hr/doctype/payroll_entry/test_payroll_entry.js
+++ b/erpnext/hr/doctype/payroll_entry/test_payroll_entry.js
@@ -30,7 +30,7 @@
 		() => frappe.click_button('Submit'),
 		() => frappe.timeout(1),
 		() => frappe.click_button('Yes'),
-		() => frappe.timeout(2),
+		() => frappe.timeout(5),
 
 		() => frappe.click_button('View Salary Slip'),
 		() => frappe.timeout(2),
@@ -38,8 +38,8 @@
 
 		() => frappe.set_route('Form', 'Payroll Entry', docname),
 		() => frappe.timeout(2),
-		() => frappe.click_button('Make'),
-		() => frappe.click_dropdown_item('Submit Salary Slip'),
+		() => frappe.click_button('Submit Salary Slip'),
+		() => frappe.click_button('Yes'),
 		() => frappe.timeout(5),
 
 		() => frappe.click_button('Close'),