[fix] for tests

This commit is contained in:
Rushabh Mehta 2017-11-17 12:12:34 +05:30
parent 744ff0010b
commit 58dccf38c5
2 changed files with 9 additions and 12 deletions

View File

@ -1,6 +1,3 @@
# Copyright (c) 2013, Frappé Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
@ -9,4 +6,4 @@ def execute():
update `tabProject` p
set total_sales_cost = ifnull((select sum(base_grand_total)
from `tabSales Order` where project=p.name and docstatus=1), 0)
""")
""")

View File

@ -30,14 +30,14 @@ def run_setup_wizard_test():
time.sleep(1)
driver.click(".next-btn")
# Profile slide
driver.set_field("full_name", "Great Tester")
driver.set_field("email", "great@example.com")
driver.set_field("password", "test")
driver.wait_for_ajax(True)
time.sleep(1)
driver.click(".next-btn")
time.sleep(1)
# # Profile slide
# driver.set_field("full_name", "Great Tester")
# driver.set_field("email", "great@example.com")
# driver.set_field("password", "test")
# driver.wait_for_ajax(True)
# time.sleep(1)
# driver.click(".next-btn")
# time.sleep(1)
# domain slide
driver.set_select("domain", "Manufacturing")