The problem was that I was opening the test results too soon. The test run is marked as fail while the TestCleanup()
method is still running.
Since the TestContext.AddResultFile()
was called by TestCleanup()
, when I clicked the test result too soon, the report would display, but without the additional result files.
So you shouldn't open the test report while the Results window says "Test run completing...", you should wait until it says "Test run completed" or "Test run failed."