feat(Designer): Direct standalone initialization#8542
Open
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | None |
| Commit Type | ✅ | None |
| Risk Level | ✅ | None |
| What & Why | ✅ | None |
| Impact of Change | ✅ | None |
| Test Plan | ✅ | None |
| Contributors | Nudge to mention others if relevant | |
| Screenshots/Videos | ✅ | None |
PR passes all required checks and matches the assigned risk level. If you worked with other contributors, consider tagging them for visibility and recognition. Well done! 🎉
Last updated: Thu, 06 Nov 2025 19:30:53 GMT
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR refactors E2E test workflow loading to use direct URL parameters instead of UI interactions, and implements corresponding URL parameter handling in the standalone application. The changes enable faster test execution by bypassing the workflow selection UI.
- Replaced
GoToMockWorkflowwithLoadMockDirectfunction that loads workflows via URL parameters - Added URL parameter parsing logic to automatically configure workflow/run settings on page load
- Removed redundant
page.goto('/')calls from real API tests sincegoToWorkflow()handles navigation
Reviewed Changes
Copilot reviewed 42 out of 42 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| e2e/designer/utils/GoToWorkflow.ts | Added LoadMockDirect and LoadDirect helper functions for URL-based workflow loading |
| e2e/designer/workflowParametersPanel.spec.ts | Updated to use direct loading with workflow filename instead of display name |
| e2e/designer/variables/ensureInitializeVariable.spec.ts | Replaced UI-based workflow selection with direct URL loading |
| e2e/designer/unicodeCharacters.spec.ts | Updated to use direct URL loading |
| e2e/designer/tokens/tokenRemoval.spec.ts | Removed redundant page navigation and switched to direct loading |
| e2e/designer/tokens/escapeExpressionTokens.spec.ts | Updated to use direct URL loading |
| e2e/designer/tabFocus.spec.ts | Replaced UI-based workflow selection with direct loading |
| e2e/designer/serialization.spec.ts | Updated to use direct URL loading |
| e2e/designer/scopeActions.spec.ts | Replaced UI-based workflow selection with direct loading |
| e2e/designer/runAfter.spec.ts | Updated to use direct URL loading |
| e2e/designer/recurrence.spec.ts | Replaced UI-based workflow selection with direct loading |
| e2e/designer/real-api/operationPanel/triggerUpdateName.spec.ts | Removed redundant page.goto('/') since goToWorkflow() handles navigation |
| e2e/designer/real-api/operationPanel/operationParameters.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/monitoring/NestedLoops/nestedLoops.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/editors/htmleditor.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/custom-code/custom-code.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/connections/connectionAuth.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/agentic/agentConnections.spec.ts | Removed redundant page navigation and reload since goToWorkflow() handles it |
| e2e/designer/real-api/StatelessVariables/statelessvariables.spec.ts | Removed redundant page navigation |
| e2e/designer/real-api/SanityTest/sanity-test.spec.ts | Removed redundant page navigation |
| e2e/designer/queryCache.spec.ts | Updated workflow loading to use direct URL parameters |
| e2e/designer/operationPanel.spec.ts | Replaced UI-based workflow selection with direct loading |
| e2e/designer/nodeSearchPanel.spec.ts | Updated to use direct URL loading with corrected filename |
| e2e/designer/monitoringView/monitoringView.spec.ts | Replaced workflow and run file loading with direct URL parameters |
| e2e/designer/monitoringView/loopsPager.spec.ts | Updated to load workflow and run via URL parameters |
| e2e/designer/mock-copypastescope.spec.ts | Updated to use direct URL loading |
| e2e/designer/graphCollapse.spec.ts | Replaced UI-based workflow selection with direct loading |
| e2e/designer/fixtures/real-api.ts | Refactored goToWorkflow to use direct URL navigation instead of UI interactions |
| e2e/designer/errorsPanel.spec.ts | Updated to use direct URL loading |
| e2e/designer/editors/password.spec.ts | Updated to use direct URL loading |
| e2e/designer/editors/dictionary.spec.ts | Updated to use direct URL loading |
| e2e/designer/editors/condition.spec.ts | Updated to use direct URL loading |
| e2e/designer/dragAndDrop.spec.ts | Updated to use direct URL loading |
| e2e/designer/contextMenus.spec.ts | Updated to use direct URL loading |
| e2e/designer/collapseActions.spec.ts | Updated to use direct URL loading |
| e2e/designer/app.spec.ts | Updated to use direct URL loading |
| e2e/designer/TokenPicker.spec.ts | Updated to use direct URL loading |
| apps/Standalone/src/designer/components/settings_box.tsx | Added logic to auto-hide settings box when loading workflows via URL parameters |
| apps/Standalone/src/designer/app/SettingsSections/sourceSettings.tsx | Added URL parameter parsing to set hosting plan, local mode, and monitoring view on load |
| apps/Standalone/src/designer/app/LocalDesigner/LogicAppSelector/LogicAppSelector.tsx | Implemented URL parameter handling to auto-select workflow and run files |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/LogicAppSelectionSetting/AzureStandardLogicAppSelector.tsx | Added URL parameter parsing to auto-populate app, workflow, and run selections |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/LogicAppSelectionSetting/AzureConsumptionLogicAppSelector.tsx | Implemented URL parameter handling for consumption workflows |
apps/Standalone/src/designer/app/LocalDesigner/LogicAppSelector/LogicAppSelector.tsx
Show resolved
Hide resolved
...signer/app/AzureLogicAppsDesigner/LogicAppSelectionSetting/AzureStandardLogicAppSelector.tsx
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Type
Risk Level
What & Why
Can now load standalone designer from url search params.
plan- Standard / Consumptionid- Remote workflow idrunId- Remote workflow run idlocalId- Local workflow idlocalRunId- Local workflow run idThe intention of this is to speed up workflow initialization during our automated testing to avoid waiting on all LA / workflow resources to load before the proper workflow can be selected.
Impact of Change
Test Plan
Contributors
@rllyy97
Screenshots/Videos
N/A