PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide
sneha122 33b3949445
test: ConnectionErrors_Spec.ts - created common error for connection failure (#34024)
## Description
Fixed failing test of ConnectionErrors_spec.ts in CI

Test 2 : Test throws access denied error which test is asserting but
different text expected - Access denied for user 'root'@'17.17.0.1 but
got Access denied for user 'root'@'ip-172-17-0-1.ec2.internal'. As we
should not be exposing IP addresses, this will be worked on from server.
We are making this as a general error than with specific IP.

More details:
https://theappsmith.slack.com/archives/C04C1A774RJ/p1717659544117009


Fixes #34022 
_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=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

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


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


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

## Summary by CodeRabbit

- **Tests**
- Updated validation message in tests for datasource connection errors.
- Changed test spec reference from client-side template to server-side
datasource connection errors.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2024-06-06 17:11:56 +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 test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
AppLevelImport chore: Add cypress specs for partial import and export functionality (#30166) 2024-01-17 11:20:01 +05:30
Datasources test: ConnectionErrors_Spec.ts - created common error for connection failure (#34024) 2024-06-06 17:11:56 +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:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
Params test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
Postgres_DataTypes fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
QueryPane test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30