Running tests from 'C:\Users\Miguel\Documents\progs\vsteamLast\Tests\function\tests\Remove-VSTeamWiki.Tests.ps1'
[-] Describe VSTeamWiki failed
CommandNotFoundException: Could not find Command Get-VSTeamProject
But reproducing the same exact steps as defined in the GitHub actions
Steps to reproduce
Running last version (7.5.0) tests just after a git clone, fail 3 tests
Output:
The error for all 3 tests is very similar
But reproducing the same exact steps as defined in the GitHub actions
There is no error
Expected behavior
Both ways of running test should be coherent. So runing tests on local while modifying code do not throw false positive errors.
Actual behavior?
Running tests from \Build-Module.ps1 script throws errors on tests that passed in the CI server
On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Services
Other server version
No response
Log output of used API
Log output of $PSVersionTable