Skip to content

Two Settings UI test fixes - #19043

Merged
pnovotny merged 2 commits into
SatelliteQE:masterfrom
lhellebr:replace_version
Jul 31, 2025
Merged

Two Settings UI test fixes#19043
pnovotny merged 2 commits into
SatelliteQE:masterfrom
lhellebr:replace_version

Conversation

@lhellebr

@lhellebr lhellebr commented Jul 23, 2025

Copy link
Copy Markdown
Contributor
  1. The settings field contains "Version $VERSION" and $VERSION should be replaced by actual version, e.g. 6.18.0. When the test compares "Version $VERSION" - the content of the field - with the actually shown footer text, it fails.
    For some mysterious reason not yet known to me, the test sometimes got actual text "Version 6.18.0" instead of the unexpanded variable so this actually passed pre-6.18. I don't understand, but this fix should work for both cases.

  2. The test somehow presumes the original value to be Yes, even though it doesn't need to be. Fixed.

@lhellebr
lhellebr requested a review from a team July 23, 2025 13:25
@lhellebr
lhellebr requested a review from a team as a code owner July 23, 2025 13:25
@lhellebr lhellebr added CherryPick PR needs CherryPick to previous branches 6.16.z 6.17.z labels Jul 23, 2025
@lhellebr lhellebr changed the title Replace by actual version when comparing strings. Two Settings UI test fixes, see commit messages Jul 25, 2025
@lhellebr lhellebr changed the title Two Settings UI test fixes, see commit messages Two Settings UI test fixes Jul 25, 2025
@lhellebr

Copy link
Copy Markdown
Contributor Author

PRT passed in SatelliteQE/airgun#1934

@LadislavVasina1 LadislavVasina1 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.

ACK

@pnovotny pnovotny 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.

LGTM

@pnovotny
pnovotny merged commit cad72c1 into SatelliteQE:master Jul 31, 2025
8 checks passed
github-actions Bot pushed a commit that referenced this pull request Jul 31, 2025
The settings field contains "Version $VERSION" and $VERSION should be replaced by actual version, e.g. 6.18.0. When the test compares "Version $VERSION" - the content of the field - with the actually shown footer text, it fails.
For some mysterious reason not yet known to me, the test sometimes got actual text "Version 6.18.0" instead of the unexpanded variable so this actually passed pre-6.18. I don't understand, but this fix should work for both cases.

The test somehow presumes the original value to be Yes, even though it doesn't need to be. Fixed.

(cherry picked from commit cad72c1)
github-actions Bot pushed a commit that referenced this pull request Jul 31, 2025
The settings field contains "Version $VERSION" and $VERSION should be replaced by actual version, e.g. 6.18.0. When the test compares "Version $VERSION" - the content of the field - with the actually shown footer text, it fails.
For some mysterious reason not yet known to me, the test sometimes got actual text "Version 6.18.0" instead of the unexpanded variable so this actually passed pre-6.18. I don't understand, but this fix should work for both cases.

The test somehow presumes the original value to be Yes, even though it doesn't need to be. Fixed.

(cherry picked from commit cad72c1)
pondrejk pushed a commit that referenced this pull request Oct 7, 2025
Two Settings UI test fixes (#19043)

The settings field contains "Version $VERSION" and $VERSION should be replaced by actual version, e.g. 6.18.0. When the test compares "Version $VERSION" - the content of the field - with the actually shown footer text, it fails.
For some mysterious reason not yet known to me, the test sometimes got actual text "Version 6.18.0" instead of the unexpanded variable so this actually passed pre-6.18. I don't understand, but this fix should work for both cases.

The test somehow presumes the original value to be Yes, even though it doesn't need to be. Fixed.

(cherry picked from commit cad72c1)

Co-authored-by: Lukáš Hellebrandt <lhellebr@redhat.com>
pondrejk pushed a commit that referenced this pull request Oct 7, 2025
Two Settings UI test fixes (#19043)

The settings field contains "Version $VERSION" and $VERSION should be replaced by actual version, e.g. 6.18.0. When the test compares "Version $VERSION" - the content of the field - with the actually shown footer text, it fails.
For some mysterious reason not yet known to me, the test sometimes got actual text "Version 6.18.0" instead of the unexpanded variable so this actually passed pre-6.18. I don't understand, but this fix should work for both cases.

The test somehow presumes the original value to be Yes, even though it doesn't need to be. Fixed.

(cherry picked from commit cad72c1)

Co-authored-by: Lukáš Hellebrandt <lhellebr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.16.z 6.17.z CherryPick PR needs CherryPick to previous branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants