Skip to content

Fix DevConsole Integration E2E: update perspective switcher role locator#23890

Merged
dmytro-ndp merged 1 commit into
eclipse-che:mainfrom
SkorikSergey:updateDevConsoleIntegrationTest
Jun 23, 2026
Merged

Fix DevConsole Integration E2E: update perspective switcher role locator#23890
dmytro-ndp merged 1 commit into
eclipse-che:mainfrom
SkorikSergey:updateDevConsoleIntegrationTest

Conversation

@SkorikSergey

@SkorikSergey SkorikSergey commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

The DevConsoleIntegration test fails on newer OpenShift 4.22 versions when selecting the Developer role. The perspective switcher no longer uses data-test-id='perspective-switcher-menu-option', so the old locator in OcpMainPage.getRoleLocator() no longer matches.

Update the locator to match the role text in the option button instead. This works on newer OpenShift 4.22 and remains compatible with older versions.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

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

How to test this PR?

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.

@SkorikSergey SkorikSergey marked this pull request as ready for review June 23, 2026 07:21

@dmytro-ndp dmytro-ndp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to merge.

@dmytro-ndp dmytro-ndp merged commit 0a559c2 into eclipse-che:main Jun 23, 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.

2 participants