PromucFlow_constructor/app/client/cypress/locators/GeneratePage.json
Aishwarya-U-R 3a4db6bdfd
test: Automated tests for S3 uploads & Mongo Bugs + Flakiness fixes (#9931)
* Bugs  #9069, #9201, #6975, #9922 - Scripted

* Mongo DS update from Cloud to Localhost

* Updating command.js

* Ignoring Mongo until Localhost is fixed

* S3 fixes

* S3 fix

* Mongo Cloud to Localhost transition

* Bug #6375 scripted

* Failure fix

* S3 fix + testSaveDs method flow update

* Refresh datasource structure script fix

* Entity explorer datasource structure script fix

* testSaveDs method flow update fixes

* testSaveDs method flow update fixes - set 2

* S3, Mongo Skipping cases fix

* Custom Chart failure fix

* Button-Call-Query Validation case script fix

* Confirm run action failure fix

* Confirm run action script fix

* Dropdown-Call-Query Validation script fix

* S3 - Delete icon issue fix

* S3 - Delete icon locator updated

* actionContextMenuByEntityName method call update

* Table widget add new menu button column - rgb fix

* Commenting BG color verify - to override flakiness

* Mongo skipping script fix

* Commenting Cypress.runner.stop()
2021-12-29 11:11:30 +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')]/preceding-sibling::div[contains(@class, 't--widget-inputwidget')][1]//input",
"updateBtn": "span:contains('Update')",
"addRowIcon": "//span[@icon='add']/parent::button",
"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')]/preceding-sibling::div[contains(@class, 't--widget-inputwidget')][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"
}