Skip to content

Commit

Permalink
Update the alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
artaleks9 committed Sep 27, 2023
1 parent d0388b1 commit e0493ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ suite(
test(`Check that workspace cannot be created without OAuth for ${isPrivateRepo} repo`, async function (): Promise<void> {
await dashboard.waitLoader();
const loaderAlert: string = await dashboard.getLoaderAlert();
expect(loaderAlert).contains.oneOf([
'Cause: Unsupported OAuth provider',
'Cause: No PersonalAccessTokenFetcher configured'
expect(loaderAlert).to.contain([
'Cause: Could not reach devfile at',
]);
});

Expand Down

0 comments on commit e0493ed

Please sign in to comment.