From 0c3d85095e8261cfc728f5fdd7fedf841db2aa6b Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 26 Jan 2023 11:51:23 +0530 Subject: [PATCH] test: m2m table selector correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/pages/Dashboard/Settings/Miscellaneous.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/Settings/Miscellaneous.ts b/tests/playwright/pages/Dashboard/Settings/Miscellaneous.ts index 9e641f5314..b2430488d1 100644 --- a/tests/playwright/pages/Dashboard/Settings/Miscellaneous.ts +++ b/tests/playwright/pages/Dashboard/Settings/Miscellaneous.ts @@ -14,7 +14,7 @@ export class MiscSettingsPage extends BasePage { } async clickShowM2MTables() { - const clickAction = this.get().locator('input[type="checkbox"]').click(); + const clickAction = this.get().locator('input[type="checkbox"]').first().click(); await this.waitForResponse({ uiAction: clickAction, requestUrlPathToMatch: 'tables?includeM2M',