microsoft / microsoft/terminal

WindowsTerminal.UIA.Tests fail to run when launched from Visual Studio > Run Tests

Open
#12,675 1 comment 0 reactions 0 assignees View on GitHub
Area-Build Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

_No response_

### Windows build number

10.0.22000.556

### Other Software

Visual Studio 2022 (17.1.1)

### Steps to reproduce

Build the solution
Right click WindowsTerminal.UI.Tests and Click "Run Tests"

### Expected Behavior

The tests should run and pass

### Actual Behavior

It fails to launch the private build of Terminal and instead a new OS-installed Termianl window pops up and displays an error.
![image](https://user-images.githubusercontent.com/46852402/157980228-db8bb34d-9398-45ea-95d5-d58a45924df6.png)

Contributor guide

Open the contributing guide

Research direction

Start with the WindowsTerminal.UIA.Tests project and reproduce the failure by building the solution, then using Visual Studio 2022's Run Tests action. Trace why that path launches the OS-installed Terminal instead of the private build; done means the tests launch the private build and run successfully without the unexpected Terminal window.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.