maxgui/src/components/common/DetailsPage/__tests__/RelationshipTable.spec.js
/**
 * This function mockups opening select-dialog when clicking
 * add button in collapse component
 * @param {Object} wrapper A Wrapper is an object that contains a mounted component and methods to test the component
 */
This function mockups opening select-dialog when clicking
add button in collapse component
@param {Object} wrapper A Wrapper is an object that contains a mounted component and methods to test the component
This function mockups opening select - dialog when clicking add button in collapse component @param { Object } wrapper A Wrapper is an object that contains a mounted component and methods to test the component
async function mockupOpenSelectDialog(wrapper) {
    const collapse = wrapper.findComponent({ name: 'collapse' })
    let addBtn = collapse.find('.add-btn')
    await addBtn.trigger('click')
}
async function mockupOpenSelectDialog ( wrapper ) { const collapse = wrapper . findComponent ( { name : 'collapse' } ) let addBtn = collapse . find ( '.add-btn' ) await addBtn . trigger ( 'click' ) }
This function mockups opening select-dialog when clicking
 add button in collapse component
 @param {Object} wrapper A Wrapper is an object that contains a mounted component and methods to test the component
This function mockups opening select - dialog when clicking add button in collapse component @param { Object } wrapper A Wrapper is an object that contains a mounted component and methods to test the component