PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide
Anna Hariprasad 5d9382b54b
fix: Update datasource deletion message for clarity (#34822)
Fixes #34604 

Hi @nidhi-nair , 

**Screenshots :**
**Earlier :**

![image](https://github.com/appsmithorg/appsmith/assets/124746204/0a02a9cb-b324-4844-9d7b-c5ee72439a45)
**After update the error message :**

![image](https://github.com/appsmithorg/appsmith/assets/124746204/26414136-98df-4df7-929d-f2556329d70d)

![image](https://github.com/appsmithorg/appsmith/assets/124746204/fc9faf36-65ef-4d72-9ce8-49514eb9f90e)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Updated error messages during datasource deletion to improve clarity:
"Cannot delete datasource since it has 1 query using it."

- **Tests**
- Adjusted test cases to reflect updated error messages and ensure
accurate verification.

- **Documentation**
- Improved error message documentation for better user understanding
during datasource deletions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-11 19:42:27 +05:30
..
ActionExecution test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
ApiTests feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
AppLevelImport chore: Add cypress specs for partial import and export functionality (#30166) 2024-01-17 11:20:01 +05:30
Datasources chore: Update Postgres port for TED in CI (#34430) 2024-06-25 10:35:15 +05:30
GenerateCRUD test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
JsFunctionExecution chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
LoginTests test: Cypress | Replacing some external api's with TED + Flaky fix (#31118) 2024-02-23 13:18:01 +05:30
MySQL_Datatypes fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
OnLoadTests test: Fix extracing pageId from app page URL (#34401) 2024-06-22 18:33:29 +05:30
Params test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
Postgres_DataTypes test: Remove pause from code (#34798) 2024-07-10 11:54:40 +05:30
QueryPane fix: Update datasource deletion message for clarity (#34822) 2024-07-11 19:42:27 +05:30