## Description Whenever we have js object functions set to execute on page load, and we reload such page, all these functions are execute and we get lots of success message popups indicating the execution of js object functions was successful, These toasts clutter the UI and unnecessary since action execution has been successful, this PR removes those toast messages https://github.com/appsmithorg/appsmith/assets/30018882/44472503-d3c7-4bf8-861f-437284a4996c Fixes #32695 _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.All" ### 🔍 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/8734047332> > Commit: fb22e7445618c592dee1066991d668082afc5642 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8734047332&attempt=2" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **Refactor** - Simplified JavaScript execution flow by removing unused imports and functions. - Removed success toast notification after JavaScript function execution. - Updated test scenarios in Cypress related to JavaScript execution and navigation back to the editor. - Removed test cases verifying the number and sequence of JS objects on page load in ServerSide/OnLoadTests. - Added functionality to interact with the debugger in the test scenario in ClientSide/BugTests. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: “sneha122” <“sneha@appsmith.com”> |
||
|---|---|---|
| .. | ||
| APIOnLoad_Spec.ts | ||
| ExecuteAction_Spec.ts | ||
| JSOnLoad_cyclic_dependency_errors_spec.js | ||
| JSOnLoad2_Spec.ts | ||
| JsOnLoad3_Spec.ts | ||
| JSOnLoad4_Spec.ts | ||
| OnLoadActions_Spec.ts | ||
| PostgresConnections_spec.ts | ||