I am having a little practice with scratch orgs and I created two classes which I have correctly pushed to my scratch org with no issues.
One of the two classes is a test class. When I try to run the test by clicking the Run all tests in VScode i get the following error:
Starting SFDX: Run Apex Tests
No AuthInfo found for name newPluralsight
newPluralsight is the scratch org's alias.
I have checked that the classes where pushed correctly to the scratch org in the developer console, and they are there. I am also correctly logged in; when I run the SFDX: Open default Org my scratch org gets opened.
Here's a screenshot of the sfdx force:org:list --all command output:
Everything seems fine to me. What am I missing? Why can't I run test classes?