## Description - Create a new hookWrapper util to enable hook testing with redux state - Create a util function to create EditorState Focus Info - Small refactor of `useGetPageFocusUrl` hook - Adds tests for `useGetPageFocusUrl` hook Fixes #31871 ## Automation /ok-to-test tags="@tag.IDE" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > Tests running at: <https://github.com/appsmithorg/appsmith/actions/runs/8451092610> > Commit: `a4660177de70be17d94928eef4fbe29a37f1a1d5` > Workflow: `PR Automation test suite` > Tags: `@tag.IDE` <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a function to streamline the creation of editor focus information, enhancing navigation within the IDE. - **Refactor** - Refactored logic for setting focus page URLs in the IDE, improving the accuracy and reliability of navigation. - **Tests** - Added tests for the `useGetPageFocusUrl` hook, ensuring URL generation behaves as expected. - **Chores** - Updated utility functions for IDE tests, facilitating better test setup and execution. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| factories | ||
| customQueries.js | ||
| sagas.ts | ||
| setup.ts | ||
| testCommon.ts | ||
| testMockedWidgets.tsx | ||
| testUtils.tsx | ||