PromucFlow_constructor/app/client/cypress/locators/CMSApplocators.js
Vijetha-Kaja 63412af71b
test: Flaky test fix (#21019)
## Description

**Fixed below flaky tests**
- Chart_Widget_Loading_spec.js
- Listv2_BasicChildWidgetInteraction_spec.js
- Modal_focus_spec.js
- DeleteWorkspace_spec.js
- GraphQL to TED
- Echo mock api to TED
- Autocomplete_JS_spec

## 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

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-03-02 02:28:48 +05:30

20 lines
810 B
JavaScript

export default {
selectGet: "//span[text()='GET']",
selectPost: "//span[text()='POST']",
selectDelete: "//span[text()='DELETE']",
pagebutton: "//div[text()='Page1']",
submitButton: "span:contains('Submit New Proposal')",
mailButton: "span:contains('Mail')",
sendMailText: "//span[text()='Send Mail']",
inputMail: "//input[@value='Curt50@gmail.com']",
subjectField: "(//div[@class='bp3-input-group']//input)[6]",
contentField: ".t--widget-inputwidgetv2",
confirmButton: "span:contains('Confirm')",
closeButton: "span:contains('Close')",
datasourcesbutton: "//div[text()='Datasources']",
postApi: "//div[text()='send_mail']",
deleteApi: "//div[text()='delete_proposal']",
deleteButton: "//span[text()='Delete Proposal']",
deleteTaskText: "//span[text()='Delete this task']",
};