Browse Source

test: fix mm-hm order

pull/8367/head
Raju Udava 4 months ago
parent
commit
711ef06f48
  1. 4
      tests/playwright/pages/Dashboard/Details/FieldsPage.ts

4
tests/playwright/pages/Dashboard/Details/FieldsPage.ts

@ -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

Loading…
Cancel
Save