import * as __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__ from "@tachybase/test/e2e";
async function createTable(param) {
    let { page, mockPage, fieldName } = param;
    await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneFormBlockWithAllAssociationFieldsAndSelectorMode).goto();
    await page.getByLabel("block-item-CollectionField-general-form-general.".concat(fieldName, "-").concat(fieldName)).getByTestId('select-data-picker').click();
    await page.getByLabel('schema-initializer-Grid-popup:tableSelector:addBlock-users').hover();
    await page.getByRole('menuitem', {
        name: 'form Table'
    }).click();
    await page.mouse.move(300, 0);
}
export { createTable };
