PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/JSObject
sneha122 b7510d1bea
fix: JSobject test fixed after generate crud issue fixes (#40954)
## Description
This PR fixes
client/cypress/e2e/Regression/ClientSide/JSObject/JSObject_Tests_spec.ts.
This test started failing after fixing [generate crud issue with
dynamicBindingPathList](https://github.com/appsmithorg/appsmith/pull/40792).
With this fix, dynamicBindingPathList started appearing for generated
queries as well and so it started breaking one of the test cases which
was asserting the evaluated popup's value.

The test was asserting that value in evaluated value popup should be
equal to the query itself earlier, but after the right fix for generate
crud, it won't be equal, rather bindings will be replaced by
placeholders. This PR fixes the test by adding correct assertion for
evaluated value.


Fixes #40857
_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.Datasource"

### 🔍 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/15699603166>
> Commit: a7041c31f14d619ba235bc31446377facf4f1124
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15699603166&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Tue, 17 Jun 2025 06:32:51 UTC
<!-- 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**
- Reactivated and updated a test case for verifying query generation and
editing, including improved selection and validation steps for
datasource entities and queries.

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

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-06-17 12:42:54 +05:30
..
JS_Editor_Assert_NoFunctionAvailableText_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
JSObject_ForkApp_spec.ts chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
JSObject_Tests_spec.ts fix: JSobject test fixed after generate crud issue fixes (#40954) 2025-06-17 12:42:54 +05:30
JSObjectMutation_spec.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
RenameJSObjectBug38207_spec.ts chore: entity tabs replacement (#38989) 2025-02-06 11:33:54 +03:00