The "Tests" tab is no longer loaded as the default tab even within tasks that do contain tests. ("Logs" is the default selected tab instead). This was fixed initially in
EVG-8181 but appears to have broken again.
The value for totalTestCount is returned to the client as 0 even when tests exist, which causes this condition to fail.