test fixed (#12094)

This commit is contained in:
Shreya Shah 2017-12-19 11:24:07 +05:30 committed by Nabin Hait
parent 7c57b6ecd8
commit dd700a550f

View File

@ -30,7 +30,7 @@ QUnit.test("test: Payroll Entry", function (assert) {
() => 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 @@ QUnit.test("test: Payroll Entry", function (assert) {
() => 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'),