PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Autocomplete
Rishabh Rathod 8a16903f31
feat: Add currentPage, workspace, application name to appsmith context (#38114)
## Description

Add currentPageName, AppName and workspace name to appsmith context
object

Fixes https://github.com/appsmithorg/appsmith/issues/38046

## Automation

/ok-to-test tags="@tag.JS"

### 🔍 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/12462985063>
> Commit: eec4292d3bc1db86bdcf089061a6d2c7d8fa2205
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12462985063&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Mon, 23 Dec 2024 09:14:06 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

- **New Features**
- Enhanced `AppsmithEntity` interface with new properties:
`currentPageName`, `workspaceName`, and `appName`.
- Updated `getUnevaluatedDataTree` selector to accept additional
parameters, providing more contextual information about the current
application state.
- Introduced a new internal selector to retrieve the current page's
name.

- **Bug Fixes**
- Adjusted expected hint text in autocomplete tests for JavaScript
objects to align with updated behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2024-12-23 16:33:50 +05:30
..
Autocomplete_setters_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
autocomplete_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
BracketNotation_AC_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Bug23641_Spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Bugs_AC_Spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
JS_AC1_spec.ts feat: Add currentPage, workspace, application name to appsmith context (#38114) 2024-12-23 16:33:50 +05:30
JS_AC2_spec.ts test: Enable skipped test related to Autocomplete (#36991) 2024-10-23 19:43:51 +05:30
PropertyPaneSlashCommand_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
PropertyPaneSuggestion_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Sql_AC_Spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30