I'm using tfs 2017 to run CodedUI ordered unit tests. These are my build steps:
These are my "Run Functional Tests" configurations:
And these are the "Publish Test Results" (I'm not sure they are correct):

The TestAgent is deployed and the tests are running fine, The problem is that the test results appear as only one result and I can't see detailed result for each test. This is how my tests results looks like (The attachments are screen shots I take for each test):

I can reproduce your situation and TFS will treat the tests as one in the log:
It's a know issue, please refer below link:
You need either open
*.trxfile in Visual Studio or use Publish Test Results task(need to check continue on error).Besides also change the outcome from failed to all in the test result page.