Skip to content

Type the path in file dialogs and check where the export went - #3

Merged
Alexxfromgit merged 1 commit into
mainfrom
fix/file-dialog-typing
Oct 4, 2026
Merged

Alexxfromgit merged 1 commit into
mainfrom
fix/file-dialog-typing

Conversation

@Alexxfromgit

Copy link
Copy Markdown
Owner

What and why

After #2, ExportWritesTheCartAsCsv still failed on GitHub's Windows runners for both flavours (23/24 passed). The app reported "Cart exported", but the file wasn't at the typed path. The file name box of the Windows Server save dialog ignores text set through UI Automation, so the dialog saved under its default name in its current folder.

  • FileDialog.Choose now types the path on the keyboard (new UiElement.TypeKeys).
  • The demo app shows where it saved the cart ("Cart exported to "), and the example test checks that path. It's a real product check, and future mismatches show the actual location in the report.

Checklist

  • Framework unit tests 88/88; menu and dialog tests pass locally against WPF and WinForms
  • UI tests workflow green on this branch (manual run)
  • Docs updated (docs/windows-and-locators.md)

🤖 Generated with Claude Code

The file name box of the Windows Server file dialog ignores text set
through UI Automation, so the export ended up in the default location
on GitHub's runners. FileDialog.Choose now types the path (new
UiElement.TypeKeys), and the demo app reports where it saved the cart,
which the example test checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Alexxfromgit
Alexxfromgit merged commit d965bf6 into main Oct 4, 2026
9 checks passed
@Alexxfromgit
Alexxfromgit deleted the fix/file-dialog-typing branch October 4, 2026 15:17

This branch was successfully deployed

1 active deployment
github-pages — d965bf63 Deployed Oct 4, 2026 by Alexxfromgit via Publish Allure report #4
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