Fix flakiness in /specs/authorization.e2e.js e2e test
https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/7448157419
[chrome 122.0.6261.156 linux #0-0] » /specs/authorization.e2e.js
[chrome 122.0.6261.156 linux #0-0] GitLab Workflow Extension Authorization
[chrome 122.0.6261.156 linux #0-0] ? fails to authenticate with an invalid token
[chrome 122.0.6261.156 linux #0-0] ✖ "before each" hook for GitLab Workflow Extension Authorization
[chrome 122.0.6261.156 linux #0-0]
[chrome 122.0.6261.156 linux #0-0] 1 failing (16.8s)
[chrome 122.0.6261.156 linux #0-0]
[chrome 122.0.6261.156 linux #0-0] 1) GitLab Workflow Extension Authorization "before each" hook for GitLab Workflow Extension Authorization
[chrome 122.0.6261.156 linux #0-0] waitUntil condition failed with the following reason: Cannot read properties of undefined (reading 'includes')
[chrome 122.0.6261.156 linux #0-0] Error: waitUntil condition failed with the following reason: Cannot read properties of undefined (reading 'includes')
[chrome 122.0.6261.156 linux #0-0] at async waitForPromptTitleToContain (file:///builds/gitlab-org/gitlab-vscode-extension/test/e2e/helpers/command_palette_helpers.js:4:3)
[chrome 122.0.6261.156 linux #0-0] at async selectPatAuthenticationAndOpenTokenInput (file:///builds/gitlab-org/gitlab-vscode-extension/test/e2e/helpers/auth_helpers.js:10:3)
[chrome 122.0.6261.156 linux #0-0] at async Context.<anonymous> (file:///builds/gitlab-org/gitlab-vscode-extension/test/e2e/specs/authorization.e2e.js:7:14)
Edited by Jay McCure