Skip to content

Added new tests to main branch - #43

Closed
PatrykLs98 wants to merge 10 commits into
mainfrom
Test
Closed

Added new tests to main branch#43
PatrykLs98 wants to merge 10 commits into
mainfrom
Test

Conversation

@PatrykLs98

Copy link
Copy Markdown
Collaborator

No description provided.

@PatrykLs98 PatrykLs98 closed this Aug 26, 2026
@PatrykLs98
PatrykLs98 deleted the Test branch August 26, 2026 15:43
@PatrykLs98
PatrykLs98 restored the Test branch August 26, 2026 15:54
@PatrykLs98 PatrykLs98 reopened this Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 expands the FileManager UI test suite with new “reported defect” characterization coverage, improves test stability for TLS/SChannel handshakes, and tightens CI/toolchain setup for mixed-architecture builds (plus a small native safety fix in redirected-directory handling).

Changes:

  • Added new characterization UI tests (ZIP navigation after info dialog; HTML Help Search result contract) plus supporting settings/command IDs.
  • Hardened SChannel TLS integration tests to avoid indefinite hangs by enforcing shared handshake deadlines and improved cleanup.
  • Updated PR MSBuild workflow + VS Build Tools environment setup for correct x86/x64 targeting in the matrix, and fixed a native UTF-8→UTF-16 conversion validity edge case.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/setup-vs2026-buildtools.ps1 Adds target-architecture selection for VsDevCmd export; avoids PATH pollution while still validating x86 MASM presence.
tests/FileManager.UiTests/SChannelTlsIntegrationTests.cs Adds handshake timeout/cancellation and cleanup; adjusts certificate loading behavior.
tests/FileManager.UiTests/ReportedDefectCharacterizationUiTests.cs New UI characterization tests for ZIP open flow + HTML Help Search.
tests/FileManager.UiTests/README.md Updates documentation to describe new lanes/fixtures and the new runner script.
tests/FileManager.UiTests/Infrastructure/UiTestSettings.cs Adds opt-in gates for ZIP plug-in and Help Search fixture inputs.
tests/FileManager.UiTests/Infrastructure/NativeCommands.cs Adds stable command IDs for Open and Help Search plus a helper to submit Help Search via Enter.
src/fileswindow_navigation.cpp Rejects invalid UTF-8→UTF-16 conversions before redirected-dir comparison and preserves display spelling safely.
run-ui-tests.ps1 Adds a focused local runner that sets up an isolated sandbox and validates the selected artifact.
.github/workflows/pr-msbuild.yml Targets VsDevCmd per-matrix platform and adds environment/tool-resolution verification before building.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread run-ui-tests.ps1
Comment thread tests/FileManager.UiTests/SChannelTlsIntegrationTests.cs Outdated
Comment thread .github/workflows/pr-msbuild.yml Outdated
Comment on lines 151 to 162
# Match the tool host to the matrix row as a defense against runner-specific x64 library-path leakage.
$preferredToolArchitecture = if ('${{ matrix.platform }}' -eq 'Win32') { 'x86' } else { 'x64' }

$arguments = @(
$env:SOLUTION_PATH
'/m'
'/t:Rebuild'
"/p:Configuration=$($env:BUILD_CONFIGURATION)"
"/p:Platform=${{ matrix.platform }}"
"/p:PlatformToolset=$($env:PLATFORM_TOOLSET)"
'/p:PreferredToolArchitecture=x64'
"/p:PreferredToolArchitecture=$preferredToolArchitecture"
'/warnaserror'
PatrykLs98 and others added 3 commits August 26, 2026 18:55
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@PatrykLs98 PatrykLs98 closed this Aug 27, 2026
@PatrykLs98
PatrykLs98 deleted the Test branch August 27, 2026 07:54
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.

2 participants