MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / getPropertiesView

Function getPropertiesView

web/regression/javascript/genericFunctions.jsx:78–91  ·  view source on GitHub ↗
(schemaObj, getInitData)

Source from the content-addressed store, hash-verified

76};
77
78export 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
93export const addNewDatagridRow = async (user, ctrl)=>{
94 await user.click(ctrl.container.querySelector('[data-test="add-row"] button'));

Calls

no outgoing calls

Tested by

no test coverage detected