PromucFlow_constructor/app/client/cypress/locators/PgAdminlocators.json
Vijetha-Kaja 5297634844
test: Cypress - Convert MongoDBShoppingCart_spec to Ts (#24667)
## Description

- Converted MongoDBShoppingCart_spec.js to Ts

## Type of change

- Flaky test fix

## How Has This Been Tested?
- Cypress test runs

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-06-20 18:17:47 +05:30

29 lines
1.4 KiB
JSON

{
"dropdownChevronLeft": ".t--close-editor",
"addNewtable": "//span[text()='New Table']",
"inputValues":"//div[@class='bp3-input-group']",
"addTablename": "(//div[@class='bp3-input-group']//input)[2]",
"addColumn": "//span[text()='Add Column']/parent::button/parent::div",
"addColumnName": "div[data-testid='input-container']",
"textField": "//span[text()='Text']",
"selectDatatype": "//div[text()='Varchar']",
"submitButton": "//span[text()='Submit']",
"closeButton": "//span[text()='Close']",
"viewButton": "//span[text()='View']",
"dropdownChevronDown": ".t--draggable-dropdownwidget",
"selectInformationSchema": "//div[text()='information_schema']",
"deleteButton": "//span[text()='Delete']",
"confirmButton": "//span[text()='Confirm']",
"columnNamefield": "//span[text()='Column name']",
"datatypefield": "//span[text()='Data Type']",
"bookname": "(//div[@class='bp3-input-group'])[5]",
"bookgenre": "(//div[@class='bp3-input-group'])[6]",
"bookprice": "(//div[@class='bp3-input-group'])[7]",
"bookquantity": "(//div[@class='bp3-input-group'])[8]",
"addtoCart": "//span[@class='bp3-button-text' and text()='Submit']",
"deletefromCart": "//span[@class='bp3-button-text' and text()='Delete']",
"editbookquantity": "(//div[@class='bp3-input-group'])[4]",
"addButton":"//span[text()='Add']/parent::button",
"editButton":"//span[text()='Edit']/parent::button"
}