-
Notifications
You must be signed in to change notification settings - Fork 270
AZD VS Code Extension Updates & Improvements #6425
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1d19f93
Add side panel view with My Project and Help and Feedback sections
spboyer 9e0c355
Implement My Project section with project structure
spboyer 30769cf
Add Environments section with details and variables
spboyer bec9154
Remove Environments from My Project view
spboyer 89d2924
feat(vscode): Add extensions view and enhanced environment management
spboyer ab57695
feat(vscode): Update Help and Feedback link from Resources to AZD Blo…
spboyer 15197c3
feat(vscode): Add 'Show in Azure Portal' command for services
spboyer a9f3d19
feat(vscode): Integrate environment commands with standalone Environm…
spboyer 98e0248
test(vscode): Add comprehensive unit tests for new features
spboyer 6d06b05
feat(vscode): add test dependencies and improve command handling
spboyer ef86d25
Update ext/vscode/src/views/environments/EnvironmentsTreeDataProvider.ts
spboyer 1cf4ebb
Remove debug consol logs, update for proper logging
spboyer d11000b
Update ext/vscode/src/views/environments/EnvironmentsTreeDataProvider.ts
spboyer e65e759
Update ext/vscode/src/commands/env.ts
spboyer 4324bc9
Update ext/vscode/ext/vscode/package-lock.json
spboyer 3ba2757
Update ext/vscode/src/commands/azureWorkspace/wizard/PickResourceStep.ts
spboyer e80abf2
fix build/test ts error
spboyer d316dde
fix build/tests failing
spboyer 8d0f581
fix linting errors
spboyer edfa16e
feat: Add enhanced azure.yaml editing support with IntelliSense
spboyer 56476f0
feat: Add enhanced azure.yaml editing support with IntelliSense
spboyer fe57c74
fix build error/linting
spboyer b5b058c
add copilot instructions specific to the extension
spboyer c8fb0e9
feat: Implement 'Add Service' command for azure.yaml file with user p…
spboyer 14d6ac6
fix: Remove unnecessary blank lines in addService command and tests
spboyer 13de535
feat(views): Add Template Tools section with Azure template discovery…
spboyer 4917a35
feat: Add comprehensive azure.yaml validation to prevent error pop-ups
spboyer 9470608
Address PR review feedback from @bwateratmsft
spboyer 201314b
Address PR feedback: Remove duplicate YAML functionality
spboyer c9d60c0
Add missing words to cspell dictionary
spboyer 1386cbb
Address PR feedback: cleanup and improvements
spboyer 8aaaba1
update icon to svg
spboyer 1f46371
revert icon to png due to build issue : Error: SVGs can't be used as …
spboyer 243e468
update activity icon to svg
spboyer 3b9e2f3
Address PR feedback for VS Code extension views
spboyer 52ed9e8
Merge branch 'Azure:main' into feature/side-panel-view
spboyer b7ecc73
Address Brandon's PR feedback: reduce logging, use context.ui, add l10n
spboyer b59342b
Address high-priority PR feedback items
spboyer 317ca7b
Address PR feedback from Brandon
spboyer 8919300
Address additional PR feedback
spboyer 0f10f8c
Consolidate repeated code in env.ts
spboyer 813b514
Simplify AzureDevExtensionProvider
spboyer a4faabe
Address PR feedback: use constants, clarify watcher code, add AGENTS.md
spboyer adb6504
Fix failing tests and update pre-commit instructions
spboyer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,3 +36,8 @@ azuredb | |
| retval | ||
| LOCALAPPDATA | ||
| ellismg | ||
| networkidle | ||
| qbsearch | ||
| mystorageacct | ||
| aiapps | ||
| itemprop | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| # Quick Start: Playwright E2E Tests | ||
|
|
||
| ## Installation | ||
|
|
||
| ```bash | ||
| # Install all dependencies including Playwright | ||
| npm install | ||
|
|
||
| # Install Playwright browsers (Chromium by default) | ||
| npx playwright install chromium | ||
| ``` | ||
|
|
||
| ## Running Tests | ||
|
|
||
| ```bash | ||
| # Run all E2E tests | ||
| npm run test:e2e | ||
|
|
||
| # Run with interactive UI (recommended for development) | ||
| npm run test:e2e:ui | ||
|
|
||
| # Run in headed mode (see browser) | ||
| npm run test:e2e:headed | ||
|
|
||
| # Run in debug mode | ||
| npm run test:e2e:debug | ||
|
|
||
| # Run specific test file | ||
| npx playwright test portal-urls.spec.ts | ||
|
|
||
| # Run tests matching a pattern | ||
| npx playwright test --grep "portal" | ||
| ``` | ||
|
|
||
| ## View Results | ||
|
|
||
| ```bash | ||
| # Open HTML report after tests complete | ||
| npx playwright show-report | ||
| ``` | ||
|
|
||
| ## What's Tested | ||
|
|
||
| ### ✅ Portal URL Construction | ||
| - Web Apps, Storage, Cosmos DB, Container Apps | ||
| - Resource Group URLs | ||
| - URL format validation | ||
|
|
||
| ### ✅ Template Gallery | ||
| - awesome-azd gallery loading | ||
| - AI templates page (aka.ms/aiapps) | ||
| - GitHub repository links | ||
| - Template metadata structure | ||
|
|
||
| ### ✅ Documentation Links | ||
| - Azure Developer CLI docs | ||
| - GitHub issues & discussions | ||
| - Installation guides | ||
| - VS Code marketplace page | ||
| - Help & feedback links | ||
|
|
||
| ## Test Files | ||
|
|
||
| ``` | ||
| src/test/e2e/ | ||
| ├── portal-urls.spec.ts # Azure Portal URL tests | ||
| ├── template-gallery.spec.ts # Template discovery tests | ||
| ├── documentation-links.spec.ts # Documentation link tests | ||
| └── README.md # Detailed documentation | ||
| ``` | ||
|
|
||
| ## Quick Examples | ||
|
|
||
| ### Run one test | ||
| ```bash | ||
| npx playwright test documentation-links.spec.ts | ||
| ``` | ||
|
|
||
| ### Run only failed tests | ||
| ```bash | ||
| npx playwright test --last-failed | ||
| ``` | ||
|
|
||
| ### Generate test code (record interactions) | ||
| ```bash | ||
| npx playwright codegen https://aka.ms/awesome-azd | ||
| ``` | ||
|
|
||
| ## CI Integration | ||
|
|
||
| Tests automatically run with: | ||
| - 2 retries on failures (CI only) | ||
| - Screenshots on failure | ||
| - Video recording on failure | ||
| - HTML report generation | ||
|
|
||
| ## Common Issues | ||
|
|
||
| **Browser not installed?** | ||
| ```bash | ||
| npx playwright install | ||
| ``` | ||
|
|
||
| **Tests timing out?** | ||
| - Check network connectivity | ||
| - Verify URLs are accessible | ||
| - Increase timeout in config if needed | ||
|
|
||
| **Need more browsers?** | ||
| Edit `playwright.config.ts` to enable Firefox or Safari. | ||
|
|
||
| ## Next Steps | ||
|
|
||
| - Read full documentation: `src/test/e2e/README.md` | ||
| - Check Playwright docs: https://playwright.dev | ||
| - Add more tests based on new features! |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.