PromucFlow_constructor/app/client/cypress/support
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
..
ee
Objects chore: extract search and add to ads (#38192) 2024-12-19 13:43:13 +05:30
Pages test: new test case for renaming JS Object (#38361) 2024-12-25 16:53:44 +05:30
AdminSettingsCommands.js fix: Fix for the embedded case (#38101) 2024-12-13 15:04:00 +05:30
ApiCommands.js feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
commands.js chore: Update selectors for Table Response (#38302) 2024-12-23 12:57:27 +05:30
Constants.js chore: Anvil cypress tests (#30580) 2024-01-31 11:02:38 +05:30
dataSourceCommands.js test: updated dataSourceCommands file (#33628) 2024-05-28 14:43:26 +05:30
e2e.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
gitSync.js test: updated js methods to refer ts locators for Git Tests (#34577) 2024-06-28 16:34:07 +05:30
index.d.ts chore: add latestDeployPreview command to index.d.ts file in cypress suite (#35837) 2024-08-22 13:58:29 +05:30
queryCommands.js test: updated queryCommands file (#33629) 2024-05-27 23:10:06 +05:30
RapidMode.ts
themeCommands.js test: updated themeCommands (#33632) 2024-05-27 23:10:20 +05:30
timeout.js
widgetCommands.js test: fixed datepicker skipped tests set 2 (#37126) 2024-11-05 17:11:02 +05:30
WorkspaceCommands.js test: updated workspace commands (#33630) 2024-05-27 23:10:42 +05:30