(schemaObj, getInitData)
| 76 | }; |
| 77 | |
| 78 | export const getPropertiesView = async (schemaObj, getInitData)=> { |
| 79 | await act(async ()=>{ |
| 80 | return render(<SchemaViewWithBrowser |
| 81 | formType='tab' |
| 82 | schema={schemaObj} |
| 83 | getInitData={getInitData} |
| 84 | viewHelperProps={{ |
| 85 | mode: 'properties', |
| 86 | }} |
| 87 | onHelp={()=>{/*This is intentional (SonarQube)*/}} |
| 88 | onEdit={()=>{/*This is intentional (SonarQube)*/}} |
| 89 | />); |
| 90 | }); |
| 91 | }; |
| 92 | |
| 93 | export const addNewDatagridRow = async (user, ctrl)=>{ |
| 94 | await user.click(ctrl.container.querySelector('[data-test="add-row"] button')); |
no outgoing calls
no test coverage detected