PromucFlow_constructor/app/client/cypress/locators/CMSApplocators.js
Aman Agarwal 7aeaf75c90
fix: removed default value for API DS, updated conditions for headers and apiformattype (#14107)
* fix: removed default value for API DS, updated conditions for headers and apiformattype

* fix: added test cases for content type changes on changing method types

* fix: imported isEmpty directly with loading full lodash module
2022-06-01 10:29:58 +00:00

20 lines
816 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: "//textarea[@class='bp3-input']",
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']",
};