Skip to content

Conversation

IEvangelist
Copy link
Member

Summary

Refactor dashboard automation tests and improve configuration handling

Fixes #4237

@IEvangelist IEvangelist requested a review from Copilot August 9, 2025 20:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Refactors the .NET Aspire dashboard automation tests to improve configuration handling and fix various issues with test stability and reliability.

  • Improved configuration value retrieval with default fallback values
  • Enhanced URL resolution using proper event-driven mechanisms
  • Increased test timeout and improved error handling for better reliability

Reviewed Changes

Copilot reviewed 8 out of 24 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
Program.cs Updated configuration value retrieval to use overload with default value
PlaywrightTestsBase.cs Refactored URL resolution using event-driven approach and added error handling
PlaywrightFixture.cs Increased default timeout from 10 to 30 seconds
FluentDataGridSelector.cs Added debugger display attribute for better debugging experience
PageExtensions.cs Enhanced login method with network idle wait condition
DashboardSelectors.cs Updated selector to handle both C: and E: drive paths
CaptureImages.cs Simplified test code and improved reliability with forced clicks
AppHostTestFixture.cs Improved configuration handling and added unsecured transport option

@IEvangelist IEvangelist requested a review from adegeo August 11, 2025 17:34
@IEvangelist IEvangelist merged commit b58fb1a into dotnet:main Aug 19, 2025
6 checks passed
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.

UX automation
2 participants