PromucFlow_constructor/app/client/cypress/support/Pages
Vemparala Surya Vamsi 99db0a1fae
fix: code editor changes (#40239)
## Description
We've encountered a bug in the REST API plugin where rapidly changing
the URL input causes the save status to get stuck in the loading state.
This happens because the evaluation is debounced, and by the time it's
ready to run, the inputs may have changed in a way that prevents the
evaluation from being triggered. However, we still initiate a saga that
tracks the terminal state and controls the loading status. Since the
evaluation never actually occurs, the terminal state is never reached,
causing the loading status to remain stuck.

Fixes #`Issue Number`  
_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.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/15493848736>
> Commit: f993e21dd7a3bc0414d5c2cb35e96f3831b625bc
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15493848736&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS`
> Spec:
> <hr>Fri, 06 Jun 2025 16:05:30 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Refactor**
- Streamlined change handling in the code editor for more consistent
updates using a standardized debounce timer.
- **Bug Fixes**
- Improved auto-save reliability by adding a delay before save status
checks to prevent premature assertions.
- **New Features**
- Introduced a configurable save delay constant to unify save operation
timing across the editor.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-06-09 11:21:27 +05:30
..
Anvil chore: export anvil locators (#39624) 2025-03-07 18:11:11 +05:30
AppSettings test: regression tests for import flow (#38457) 2025-01-12 14:28:05 +05:30
IDE chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
AdminSettings.ts feat: Updating admin settings page as per new designs (#40101) 2025-04-07 15:44:20 +05:30
AggregateHelper.ts fix: code editor changes (#40239) 2025-06-09 11:21:27 +05:30
ApiPage.ts chore: Updating the spelling for runBehaviour (#40490) 2025-05-02 17:58:26 +05:30
AssertHelper.ts
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 test: Add cypress tests for Hubspot Datasource functionalities (#39419) 2025-02-25 17:34:11 +05:30
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 chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
EntityExplorer.ts chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
FakerHelper.ts
GitSync.ts chore: update select component (#38954) 2025-02-06 13:10:25 +05:30
GSheetHelper.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
HomePage.ts fix: Use Spring's native CSRF protection, and fix login page (#37292) 2025-03-08 21:01:02 +05:30
InviteModal.ts
JSEditor.ts chore: Updating the spelling for runBehaviour (#40490) 2025-05-02 17:58:26 +05:30
LibraryInstaller.ts
MultipleEnvironments.ts
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 chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
PartialImportExport.ts test: adding test for page functionality (#38538) 2025-01-18 20:26:42 +05:30
PeekOverlay.ts feat: Inspect State CTA for discovery (#39100) 2025-02-14 21:57:08 +05:30
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: reset table when infinite scroll is turned on (#40066) 2025-04-10 03:58:15 -07:00
Tabs.ts
Templates.ts
WDSWidgets.ts