[PR #12997] Fix the TabTests, April 2022 edition #29324

Open
opened 2026-01-31 09:34:15 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12997

State: closed
Merged: Yes


In classic fashion, we never run the LocalTests locally before committing, so stuff breaks from time to time.

This time, the main trick was that the tests had a pretty hardcore dependency on the inner workings of _PreviewActionHandler, and when that changed, they broke.

Also, there was a weird crash I saw when I had the default terminal set to the Dev build version. That crash would let the test contents pass, but ultimately fail when TAEF tore down the conhost. Unsetting that fixed the crash 🤷

Closes #12158

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12997 **State:** closed **Merged:** Yes --- In classic fashion, we never run the LocalTests locally before committing, so stuff breaks from time to time. This time, the main trick was that the tests had a pretty hardcore dependency on the inner workings of `_PreviewActionHandler`, and when that changed, they broke. Also, there was a weird crash I saw when I had the default terminal set to the Dev build version. That crash would let the test contents pass, but ultimately fail when TAEF tore down the conhost. Unsetting that fixed the crash 🤷 Closes #12158
claunia added the pull-request label 2026-01-31 09:34:15 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29324