PromucFlow_constructor/app/client/cypress/support/Pages
shadabbuchh 199233be47
test: new test case for renaming JS Object (#38361)
## Description

This PR adds a test case for the bug:
https://github.com/appsmithorg/appsmith/issues/38207

This PR tests the issue where renaming a JS Object via the context menu
caused the focus to shift to another tab in the editor.

Changes:

- Added test cases to validate that focus remains on the current tab
while renaming JS Objects.
- Verified the functionality by renaming multiple JS Objects and
ensuring the changes are reflected without altering tab focus.


## 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/12492186342>
> Commit: 5611d13c3a8d6fd26598a463b25e370e381323f5
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12492186342&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Wed, 25 Dec 2024 11:16:53 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**
- Introduced a method to rename JavaScript objects via the context menu
in the JSEditor.
	- Added a property for referencing the list of JavaScript objects.

- **Tests**
- Implemented a new test suite to validate the renaming functionality
and ensure focus remains on the correct tab during the process.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-25 16:53:44 +05:30
..
Anvil chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
AppSettings test: Extract pageId with regex to cover more cases (#34521) 2024-07-02 06:31:59 +05:30
IDE chore: Visual changes for core navigation elements on IDE (#37880) 2024-12-19 18:57:44 +05:30
AdminSettings.ts chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
AggregateHelper.ts test: new test cases framework functions and Action selector (#37566) 2024-12-16 16:41:54 +05:30
ApiPage.ts test: new test cases framework functions and Action selector (#37566) 2024-12-16 16:41:54 +05:30
AssertHelper.ts test: Cypress | Downgrade Cypress to 13.5.1 (#31011) 2024-02-09 13:33:30 +05:30
AutoLayout.ts fix: missing methods in gitexecutorceimpl (#32614) 2024-04-12 06:21:01 +05:30
Canvas.ts chore: cypress test for canvas view mode (#32354) 2024-04-03 14:52:09 +05:30
CommunityTemplates.ts fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
DataSources.ts chore: Masking user data in mixpanel session recordings (#38267) 2024-12-20 16:32:02 +03:00
DebuggerHelper.ts chore: Debugger Quick wins (#37954) 2024-12-10 14:43:40 +00:00
DeployModeHelper.ts fix: Fix for the embedded case (#38101) 2024-12-13 15:04:00 +05:30
EditorNavigation.ts fix: Tab navigation issue in multi page apps (#38272) 2024-12-20 16:26:54 +05:30
EntityExplorer.ts fix: replaced all edit name with Rename (#34570) 2024-07-17 08:49:44 +05:30
FakerHelper.ts
GitSync.ts feat: adding branch persistence (#36622) 2024-10-14 19:04:16 +08:00
GSheetHelper.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
HomePage.ts test: common code change for Workflow tests (#35886) 2024-08-28 11:40:24 +05:30
InviteModal.ts test: Cypress | SetWidget property validations + CI Stabilize (#28626) 2023-11-06 15:18:00 +05:30
JSEditor.ts test: new test case for renaming JS Object (#38361) 2024-12-25 16:53:44 +05:30
LibraryInstaller.ts chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
MultipleEnvironments.ts chore: Multiple Env code split for 1-click (#27275) 2023-09-29 16:16:24 +05:30
Onboarding.ts chore: removed onboarding flags ab_create_new_apps_enabled , ab_start_with_data_default_enabled (#31384) 2024-03-15 11:13:14 +05:30
PageList.ts test: GitSyncedApps_spec - multiple IA changes (#33257) 2024-05-10 15:34:40 +05:30
PartialImportExport.ts test: new test cases framework functions and Action selector (#37566) 2024-12-16 16:41:54 +05:30
PeekOverlay.ts
PluginActionForm.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
PropertyPane.ts test: new test cases framework functions and Action selector (#37566) 2024-12-16 16:41:54 +05:30
Table.ts feat: add alignment property in style pane for table button cell (#38223) 2024-12-24 07:18:56 +01:00
Tabs.ts test: added tests for Tabs (#27765) 2023-10-05 09:34:41 +05:30
Templates.ts chore: Add spec for create new app from template (#31311) 2024-02-28 14:42:35 +05:30
WDSWidgets.ts fix: Anvil toggleable widgets not working when native callbacks are used for AnvilFlexComponent (#31125) 2024-02-15 11:00:57 +05:30