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:
Zarrar
2017-12-08 14:57:38 +05:30
committed by Nabin Hait
parent 2ba198ec70
commit 17fd6610dc
34 changed files with 184 additions and 168 deletions

View File

@@ -7,9 +7,18 @@ QUnit.test("test: Restaurant", function (assert) {
// number of asserts
assert.expect(2);
let customer = {
"Test Customer 1": [
{customer_name: "Test Customer 1"}
],
"Test Customer 2": [
{customer_name: "Test Customer 2"}
]
};
frappe.run_serially([
// insert a new Restaurant
() => frappe.tests.setup_doctype('Customer', customer),
() => {
return frappe.tests.make('Restaurant', [
// values to be set