From 58dccf38c55aae3bcbf40063e27323990fcdbfbf Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 17 Nov 2017 12:12:34 +0530 Subject: [PATCH] [fix] for tests --- .../patches/v8_0/update_sales_cost_in_project.py | 5 +---- erpnext/setup/setup_wizard/test_setup_wizard.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/erpnext/patches/v8_0/update_sales_cost_in_project.py b/erpnext/patches/v8_0/update_sales_cost_in_project.py index 8f3aa26241..4f89ba036d 100644 --- a/erpnext/patches/v8_0/update_sales_cost_in_project.py +++ b/erpnext/patches/v8_0/update_sales_cost_in_project.py @@ -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) - """) + """) \ No newline at end of file diff --git a/erpnext/setup/setup_wizard/test_setup_wizard.py b/erpnext/setup/setup_wizard/test_setup_wizard.py index 97650f2d24..313039b2a8 100644 --- a/erpnext/setup/setup_wizard/test_setup_wizard.py +++ b/erpnext/setup/setup_wizard/test_setup_wizard.py @@ -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")