Skip to content

[Test] Stabilize DevConsole import-from-git step with URL fallback#23815

Merged
dmytro-ndp merged 1 commit intoeclipse-che:mainfrom
SkorikSergey:fixDevConsoleTest
Apr 20, 2026
Merged

[Test] Stabilize DevConsole import-from-git step with URL fallback#23815
dmytro-ndp merged 1 commit intoeclipse-che:mainfrom
SkorikSergey:fixDevConsoleTest

Conversation

@SkorikSergey
Copy link
Copy Markdown
Contributor

What does this PR do?

The import page navigation can be flaky depending on OpenShift console behavior and routing. Using a direct fallback URL makes the test more reliable across environments.

  • Stabilizes the DevConsole integration flow for “Import from Git” by adding a deterministic fallback URL for the target project namespace.
  • Builds the OpenShift console URL from the existing test base URL and composes /import/ns/{projectName}.
  • Updates the test step to use openImportFromGitPageWithFallback(importProjectUrl) instead of relying only on UI navigation.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

https://redhat.atlassian.net/browse/CRW-9944

How to test this PR?

  • Run DevConsoleIntegration.spec.ts in the target environment.
  • Verify the “Open import from git project page” step consistently reaches the import page.
  • Confirm the rest of the flow (fill and submit import data) passes unchanged.

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.

Copy link
Copy Markdown
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran test against DS 3.28.0 successfully.

PR looks good to merge.

@dmytro-ndp dmytro-ndp merged commit 0539715 into eclipse-che:main Apr 20, 2026
3 checks passed
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.

3 participants