浏览代码

[test] test_customize_form.js

version-14
Rushabh Mehta 8 年前
父节点
当前提交
8fdc823e7e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      frappe/custom/doctype/customize_form/test_customize_form.js

+ 2
- 2
frappe/custom/doctype/customize_form/test_customize_form.js 查看文件

@@ -7,9 +7,9 @@ QUnit.test("test customize form", function(assert) {
let done = assert.async();
frappe.run_serially([
() => frappe.set_route('Form', 'Customize Form'),
() => frappe.timeout(3),
() => frappe.timeout(5),
() => cur_frm.set_value('doc_type', 'ToDo'),
() => frappe.timeout(3),
() => frappe.timeout(2),

() => assert.equal(cur_frm.doc.fields[1].fieldname, 'status',
'check if second field is "status"'),


正在加载...
取消
保存