mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
Fix travis (#11882)
* fieldname wrong * bifurcated test into two - error when both were running async * minor fixes with link and route * move school domain rename up * fix async creation of operations test * edit-in-full-page is button, not link * set_route issue in production order test * minor changes * fix task tree test * more fixes * fix server side issue * improvising ui tests
This commit is contained in:
@@ -10,13 +10,15 @@ QUnit.test("test: Volunteer Type", function (assert) {
|
||||
|
||||
frappe.run_serially([
|
||||
// insert a new Member
|
||||
() => frappe.tests.make('Volunteer Type', [
|
||||
// values to be set
|
||||
{volunteer_type: 'Test Work'},
|
||||
{amount: 500}
|
||||
]),
|
||||
() => {
|
||||
assert.equal(cur_frm.doc.volunteer_type, 'Test Work');
|
||||
return frappe.tests.make('Volunteer Type', [
|
||||
// values to be set
|
||||
{__newname: 'Test Work'},
|
||||
{amount: 500}
|
||||
]);
|
||||
},
|
||||
() => {
|
||||
assert.equal(cur_frm.doc.name, 'Test Work');
|
||||
assert.equal(cur_frm.doc.amount, 500);
|
||||
},
|
||||
() => done()
|
||||
|
||||
Reference in New Issue
Block a user