test: Retry auth if extension is not loaded yet
Description
Occasionally the extension isn't loaded when we try to authenticate causing the test to fail. This MR implements a retry when no GitLab authenticate command isn't available.
This seems to be a common problem across testing VS Code extensions as there is currently no way to tell if an extension is loaded or not: https://github.com/redhat-developer/vscode-extension-tester/issues/854
Note: this also reduces the log level to info, as the debug level was generating more than the maximum for our job logs.
Related Issues
Resolves #1473 (closed)
How has this been tested?
Locally
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Jay McCure