Skip to content

Add workaround for duplicate workspace warning in CreateWorkspaceWithExistingNameFromEmptyWorkspaceSample e2e test#23788

Draft
SkorikSergey wants to merge 2 commits intoeclipse-che:mainfrom
SkorikSergey:addWorkaround
Draft

Add workaround for duplicate workspace warning in CreateWorkspaceWithExistingNameFromEmptyWorkspaceSample e2e test#23788
SkorikSergey wants to merge 2 commits intoeclipse-che:mainfrom
SkorikSergey:addWorkaround

Conversation

@SkorikSergey
Copy link
Copy Markdown
Contributor

What does this PR do?

Add a workaround for a known issue where the duplicate workspace warning incorrectly appears when creating an Empty Workspace with "Create New" checkbox OFF.

When creating an Empty Workspace sample with "Create New" checkbox turned OFF, the dashboard shows a duplicate workspace warning even though Empty Workspace should always generate unique names.

Workaround

When the duplicate workspace warning appears unexpectedly, the test now:

  • Logs an error message describing the known issue
  • Skips the test to avoid false failures

Changes

  • Added try-catch block to detect unexpected duplicate workspace warning
  • Added this.skip() with error logging when the warning appears
  • Added TODO comment referencing the issue to be fixed

Note

This workaround should be removed after fixing https://redhat.atlassian.net/browse/CRW-10546

Screenshot/screencast of this PR

What issues does this PR fix or reference?

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant