PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide/Datasources
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
..
ConnectionErrors_Spec.ts test: ConnectionErrors_Spec.ts - created common error for connection failure (#34024) 2024-06-06 17:11:56 +05:30
ElasticSearch_Basic_Spec.ts test: Cypress | Replacing some external api's with TED + Flaky fix (#31118) 2024-02-23 13:18:01 +05:30
Firestore_Basic_Spec.ts chore: move cypress strings to vars (#33245) 2024-05-08 12:18:14 +05:30
Oracle_Spec.ts chore: move cypress strings to vars (#33245) 2024-05-08 12:18:14 +05:30
Redis_Basic_Spec.ts fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30