PromucFlow_constructor/app/client/cypress/locators/GeneratePage.json
Arsalan Yaldram 6496f84374
fix: Added Button Container for the firefox drag issue (#11627)
* fix: Added Button Container for the firefox drag issue

* fix: Removed un-necessary styles, added Container in Canvas mode.

* fix: Removed renderMode check from styled function.

* fix: Code refactor and handled Icon Button Component.

* fix: Added extensive comments.

* fix: handled menu button drag issues.

* fix: Fixed some failing tests.

* New Button locator (with drag-container) fix

* NewBtn container locator fix

* btn locator fix

* MongoShopping spec fix

* Mongo, Postgress fixes

* Stat box fix

* Testcase title update

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-03-13 22:51:04 +05:30

29 lines
1.9 KiB
JSON

{
"buildFromScratchActionCard": ".t--BuildFromScratch",
"generateCRUDPageActionCard": ".t--GenerateCRUDPage",
"selectDatasourceDropdown": "[data-cy=t--datasource-dropdown]",
"datasourceDropdownOption": "[data-cy=t--datasource-dropdown-option]",
"selectTableDropdown": "[data-cy=t--table-dropdown]",
"dropdownOption": ".bp3-popover-content .t--dropdown-option",
"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",
"updateBtn": "span:contains('Update')",
"addRowIcon": "//span[@icon='add']/ancestor::div[1]",
"idField": "//input[@placeholder='id']",
"nameField": "//input[@placeholder='name']",
"statusField": "//input[@placeholder='status']",
"genderField": "//input[@placeholder='gender']",
"emailField": "//input[@placeholder='email']",
"submitBtn": "span:contains('Submit')",
"sortByDropdown": "//div[@type='CANVAS_WIDGET']/div[contains(@class, 't--widget-dropdownwidget')][2]",
"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",
"deleteofSelectedRow": "//div[@class='tr selected-row']//span[text()='Delete']",
"confirmBtn": "span:contains('Confirm')",
"deleteMenuItem": "//div[text()='Delete']/parent::a[contains(@class, 'single-select')]",
"uploadFilesS3":"div.uppy-Dashboard-AddFiles input",
"uploadBtn": "button.uppy-StatusBar-actionBtn--upload"
}