-
Notifications
You must be signed in to change notification settings - Fork 95
feat(Designer): Direct standalone initialization #8542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
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