PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide/QueryPane
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
..
AddWidget_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
AddWidgetTableAndBind_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
DSDocs_Spec.ts test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
EmptyDataSource_spec.js test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
EvaluatedValuePopUp_spec.ts test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
GoogleSheets_spec.ts test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
Mongo_Spec.js chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
Mongo1_spec.ts fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
MySQL_Spec.ts fix: Update datasource deletion message for clarity (#34822) 2024-07-11 19:42:27 +05:30
Postgres_Spec.js fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
S3_1_spec.js test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
S3_2_spec.ts fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
SwitchDatasource_spec.js test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30