From d98f5900103d4d3887895c36c1bdc4e871abee2b Mon Sep 17 00:00:00 2001 From: Parthvi12 <80334441+Parthvi12@users.noreply.github.com> Date: Thu, 7 Apr 2022 13:42:40 +0530 Subject: [PATCH] test: Revert postgres CRUD element xpath to match CRUD template revertion (#12664) Co-authored-by: Parthvi Goswami --- app/client/cypress/locators/GeneratePage.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/cypress/locators/GeneratePage.json b/app/client/cypress/locators/GeneratePage.json index 3a12f4f2c2..141e6441c2 100644 --- a/app/client/cypress/locators/GeneratePage.json +++ b/app/client/cypress/locators/GeneratePage.json @@ -8,7 +8,7 @@ "selectSearchColumnDropdown": "[data-cy=t--searchColumn-dropdown]", "generatePageFormSubmitBtn": "[data-cy=t--generate-page-form-submit]", "selectRowinTable": "//div[text()='CRUD User2']/ancestor::div[contains(@class,'tr')]", - "currentStatusField": "//div[@type='FORM_WIDGET']//span[text()='Status']//ancestor::div[contains(@class,'t--widget-textwidget')]/following-sibling::div[contains(@class, 't--widget-inputwidgetv2')][1]//input", + "currentStatusField": "//div[@type='FORM_WIDGET']//span[text()='status:']//ancestor::div[contains(@class,'t--widget-textwidget')]/following-sibling::div[contains(@class, 't--widget-inputwidgetv2')][1]//input", "updateBtn": "span:contains('Update')", "addRowIcon": "//span[@icon='add']/ancestor::div[1]", "idField": "//input[@placeholder='id']", @@ -20,7 +20,7 @@ "sortByDropdown": "span[name='dropdown']", "ascending": "//div[text()='Ascending']", "descending": "//div[text()='Descending']", - "currentNameField": "//div[@type='FORM_WIDGET']//span[text()='Name']//ancestor::div[contains(@class,'t--widget-textwidget')]/following-sibling::div[contains(@class, 't--widget-inputwidgetv2')][1]//input", + "currentNameField": "//div[@type='FORM_WIDGET']//span[text()='name:']//ancestor::div[contains(@class,'t--widget-textwidget')]/following-sibling::div[contains(@class, 't--widget-inputwidgetv2')][1]//input", "deleteofSelectedRow": "//div[@class='tr selected-row']//span[text()='Delete']", "confirmBtn": "span:contains('Confirm')", "deleteMenuItem": "//div[text()='Delete']/parent::a[contains(@class, 'single-select')]",