appsmith
appsmith copied to clipboard
fix code to UI breaking by disabling JS toggle
Description
In some cases, while converting code to UI, the actions were being rendered incorrectly. This PR addresses the issue by disabling the JS toggle in such cases.
PR fixes following issue(s)
Fixes #22180 #22505
Media
Type of change
- Bug fix (non-breaking change which fixes an issue)
Testing
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. Delete anything that is not relevant
- [ ] Manual
- [ ] Jest
- [x] Cypress
Test Plan
Add Testsmith test cases links that relate to this PR
Issues raised during DP testing
Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)
Checklist:
Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag
QA activity:
- [ ] Speedbreak features have been covered
- [ ] Test plan covers all impacted features and areas of interest
- [ ] Test plan has been peer reviewed by project stakeholders and other QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added
Test Plan Approved
label after Cypress tests were reviewed - [ ] Added
Test Plan Approved
label after JUnit tests were reviewed
/ok-to-test sha=70e8d30
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4951389426.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 70e8d30
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=4951389426_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4951389426.
Commit: 70e8d30
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/MongoDBShoppingCart_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/ActionSelector_JsToNonJSMode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/uiToCode/uiToCode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/AdminSettings/Admin_settings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ExplorerTests/Admin_settings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/ExplorerTests/Scrolling_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Button/Button_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Chart/Chart_Widget_Loading_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/ListV2_PageNo_PageSize_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_BasicServerSideData_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/False_Spec.ts
/ok-to-test sha=1b4b99a
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4990944909.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 1b4b99a
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=4990944909_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4990944909.
Commit: 1b4b99a
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/ActionSelector_JsToNonJSMode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/uiToCode/uiToCode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AllWidgets_Reset_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/EmbedSettings/EmbedSettings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/JSOnLoad2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
/ok-to-test sha=4af6285
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4999584616.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 4af6285
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=4999584616_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4999584616.
Commit: 4af6285
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/ActionSelector_JsToNonJSMode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/uiToCode/uiToCode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitImport/GitImport_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Others/IconButton_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
/ok-to-test sha=efad61e
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5002392403.
Workflow: Appsmith External Integration Test Workflow
.
Commit: efad61e
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=5002392403_1
/ok-to-test sha=1636a1e
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 1636a1e
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=5002659707_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002392403.
Commit: efad61e
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/ActionSelector_JsToNonJSMode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ActionExecution/uiToCode/uiToCode_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug19982_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Commit: 1636a1e
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitBugs_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/PeekOverlay/PeekOverlay_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Commit: 1636a1e
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Commit: 1636a1e
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitBugs_spec.js
/build-deploy-preview env=release
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5013108931.
Workflow: On demand build Docker image and deploy preview
.
skip-tests: ``.
env: release
.
PR: 23242.
recreate: .
Deploy-Preview-URL: https://appsmith-2giecerue-get-appsmith.vercel.app
lgtm cc: @ravikp7
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Commit: 1636a1e
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitBugs_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5002659707.
Commit: 1636a1e
.
All cypress tests have passed 🎉
/ok-to-test sha=859fbb7
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5022074969.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 859fbb7
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=5022074969_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5022074969.
Commit: 859fbb7
.
The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Binding/TableV2_Property_ToggleJs_With_Binding_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
/ok-to-test sha=7ee3ff5
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5043036928.
Workflow: Appsmith External Integration Test Workflow
.
Commit: 7ee3ff5
.
PR: 23242.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23242&runId=5043036928_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5043036928.
Commit: 7ee3ff5
.
The following are new failures, please fix them before merging the PR:
- cypress/e2e/Regression/ClientSide/DynamicHeight/Text_Widget_spec.js
- cypress/e2e/Regression/ServerSide/ApiTests/API_CurlPOSTImport_spec.js
- cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
- cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5043036928.
Commit: 7ee3ff5
.
All cypress tests have passed 🎉