fix(Org Chart): use attribute selectors instead of ID selector for node IDs with special characters (#27717)

* fix(Org Chart): use attribute selectors instead of ID selector for node IDs with special chars

* fix: UI tests
This commit is contained in:
Rucha Mahabal
2021-09-30 18:32:10 +05:30
committed by GitHub
parent 273f3fbe0f
commit 9e08229b7b
5 changed files with 27 additions and 25 deletions

View File

@@ -7,6 +7,8 @@ def create_employee_records():
create_company()
create_missing_designation()
frappe.db.sql("DELETE FROM tabEmployee WHERE company='Test Org Chart'")
emp1 = create_employee('Test Employee 1', 'CEO')
emp2 = create_employee('Test Employee 2', 'CTO')
emp3 = create_employee('Test Employee 3', 'Head of Marketing and Sales', emp1)