Skip to content
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

feat(vscode): Implement results view webview #4497

Merged
merged 10 commits into from
Apr 1, 2024

Conversation

ccastrotrejo
Copy link
Contributor

@ccastrotrejo ccastrotrejo commented Mar 29, 2024

This pull request primarily focuses on the implementation of unit test results display in the VS Code extension for Logic Apps. It introduces a new webview to display unit test results, and refactors the existing codebase to support this feature.

  • In apps/vs-code-designer/src/app/commands/workflows/unitTest/openUnitTestResults.ts, several utility functions were added to manage webview panels and to get webview HTML.

  • The openUnitTestResults function in was refactored to open the unit test results in a webview panel instead of using the OpenDesignerForLocalProject class.

  • A new Redux slice, UnitTestSlice, was added to manage the state of unit test results.

  • A new React component, UnitTestResults, was introduced to display unit test results in a webview.

  • The UnitTestResults component was integrated into the application router allowing it to be navigated to via the unitTest route.

What is missing:

  • List of resolved or failed assertions: Will update this once BE provide executable and tests can return results

Screenshots

Screenshot 2024-03-29 at 2 45 04 PM
Screen.Recording.2024-03-29.at.2.45.16.PM.mov

@ccastrotrejo ccastrotrejo merged commit 76bc3c1 into dev/unitTest Apr 1, 2024
9 checks passed
@ccastrotrejo ccastrotrejo deleted the ccastrotrejo/resultsView branch April 1, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant