PromucFlow_constructor/app/client/cypress/support
Apeksha Bhosale 8788fd6a83
chore: unified way of writing messages in cypress (#33659)
## Description
We are using `createMessage()` and `Cypress.env("MESSAGES")` in Cypress
code to use strings. This can create confusion around the method to use
and creates inconsistency in our cypress code base. This PR unifies it
by following one way ie ` Cypress.env("MESSAGES")`. MESSAGES is defined
in
https://github.com/appsmithorg/appsmith/blob/release/app/client/cypress/support/e2e.js#L61

Conversation link -
https://theappsmith.slack.com/archives/C06FWBV74GH/p1715753205226649
Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9252248316>
> Commit: 585170639f477848d15e0bbfc8033e6679c24f60
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9252248316&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->
























## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No

---------

Co-authored-by: Abhijeet <abhi.nagarnaik@gmail.com>
2024-05-27 15:34:45 +02:00
..
ee chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Objects fix: turned on learnability flags on by default (#33283) 2024-05-13 15:48:11 +05:30
Pages chore: unified way of writing messages in cypress (#33659) 2024-05-27 15:34:45 +02:00
AdminSettingsCommands.js chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
ApiCommands.js chore: removed onboarding flags ab_create_new_apps_enabled , ab_start_with_data_default_enabled (#31384) 2024-03-15 11:13:14 +05:30
commands.js test: updated commands in CE (#33662) 2024-05-22 23:27:26 +05:30
Constants.js chore: Anvil cypress tests (#30580) 2024-01-31 11:02:38 +05:30
dataSourceCommands.js fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
e2e.js feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
gitSync.js chore: unified way of writing messages in cypress (#33659) 2024-05-27 15:34:45 +02:00
index.d.ts chore: cypress test for canvas view mode (#32354) 2024-04-03 14:52:09 +05:30
queryCommands.js test: Cypress | Flaky fixes + Replacing static waits (#30067) 2024-01-12 12:00:12 +05:30
RapidMode.ts fix: Fix default selected row on a page change when primary key is selected in a table and is unavailable in new data (#23863) 2023-06-23 10:27:48 +05:30
themeCommands.js feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
timeout.js fix: Text getting clipped for Italic font in Table Widget V1 (#15549) 2022-08-16 11:12:31 +05:30
widgetCommands.js chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
WorkspaceCommands.js test: Cypress | Helpers improved + Flaky fixes (#30735) 2024-02-01 16:42:53 +05:30