Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

19 wiersze
609 B

  1. QUnit.module('form');
  2. QUnit.test("Test Linked With", function(assert) {
  3. assert.expect(2);
  4. const done = assert.async();
  5. frappe.run_serially([
  6. () => frappe.set_route('Form', 'Module Def', 'Contacts'),
  7. () => frappe.tests.click_page_head_item('Menu'),
  8. () => frappe.tests.click_dropdown_item('Links'),
  9. () => frappe.timeout(4),
  10. () => {
  11. assert.equal(cur_dialog.title, 'Linked With', 'Linked with dialog is opened');
  12. const link_tables_count = cur_dialog.$wrapper.find('.list-item-table').length;
  13. assert.equal(link_tables_count, 2, 'Two DocTypes are linked with Contacts');
  14. },
  15. done
  16. ]);
  17. });