PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide
Shrikant Sharat Kandula 71bc84fc76
test: Fix extracing pageId from app page URL (#34401)
Over on `pg`, we use UUIDs for page IDs, not Object IDs, so the way we
extract page ID should account for this. This PR supports page IDs as
both ObjectId and UUID. So the same code should work on both `release`
and `pg`.

**/test sanity**



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9625470562>
> Commit: e21db70964e824cbbb82a76182f46fe08a259f90
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9625470562&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`

<!-- end of auto-generated comment: Cypress test results  -->




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

- **Refactor**
- Improved URL parsing logic for extracting `pageid` using a new method
to enhance robustness.
- Added assertions to ensure `pageid` is not null before proceeding with
further actions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-22 18:33:29 +05:30
..
ActionExecution test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
ApiTests test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
AppLevelImport chore: Add cypress specs for partial import and export functionality (#30166) 2024-01-17 11:20:01 +05:30
Datasources test: ConnectionErrors_Spec.ts - created common error for connection failure (#34024) 2024-06-06 17:11:56 +05:30
GenerateCRUD test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
JsFunctionExecution chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
LoginTests test: Cypress | Replacing some external api's with TED + Flaky fix (#31118) 2024-02-23 13:18:01 +05:30
MySQL_Datatypes fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
OnLoadTests test: Fix extracing pageId from app page URL (#34401) 2024-06-22 18:33:29 +05:30
Params test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
Postgres_DataTypes fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
QueryPane test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30