test: fix mm-hm order

This commit is contained in:
Raju Udava
2024-07-12 18:22:05 +00:00
parent bc1bbfa7de
commit 711ef06f48

View File

@@ -208,6 +208,10 @@ export class FieldsPage extends BasePage {
break;
case 'Links':
await this.addOrEditColumn.locator('.nc-ltar-relation-type').getByTestId(relationType).click();
// await this.addOrEditColumn
// .locator('.nc-ltar-relation-type >> .ant-radio')
// .nth(relationType === 'Has Many' ? 1 : 0)
// .click();
await this.addOrEditColumn.locator('.ant-select-single').nth(1).click();
await this.rootPage.locator(`.nc-ltar-child-table >> input[type="search"]`).first().fill(childTable);
await this.rootPage