Skip to content

template editor: update navigation bar locator#2242

Merged
pnovotny merged 2 commits into
SatelliteQE:masterfrom
pnovotny:template-editor-navbar-upd
Jul 15, 2026
Merged

template editor: update navigation bar locator#2242
pnovotny merged 2 commits into
SatelliteQE:masterfrom
pnovotny:template-editor-navbar-upd

Conversation

@pnovotny

@pnovotny pnovotny commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Locator for the template nagigation bar (Editor/Changes/Preview) has slightly changed.

This verifies PR theforeman/foreman#10728
UPDATE: theforeman/foreman#10728 has been deprecated and replaced by theforeman/foreman#11091
UPDATE2: this automation fix is actually needed for theforeman/foreman#11099

@pnovotny pnovotny added No-CherryPick PR doesnt need CherryPick to previous branches Stream labels Dec 15, 2025
@pnovotny pnovotny self-assigned this Dec 15, 2025
@pnovotny
pnovotny requested a review from a team December 15, 2025 12:16
@pnovotny

pnovotny commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 10728

@pnovotny
pnovotny marked this pull request as ready for review December 15, 2025 12:27

@sourcery-ai sourcery-ai Bot 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.

We failed to fetch pull request #2242.

You can try again by commenting this pull request with @sourcery-ai review, or contact us for help.

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Dec 15, 2025
@pnovotny

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 10728

@Satellite-QE Satellite-QE added PRT-Failed Indicates that latest PRT run is failed for the PR and removed PRT-Passed Indicates that latest PRT run is passed for the PR labels Jan 13, 2026
@pnovotny
pnovotny force-pushed the template-editor-navbar-upd branch from a4e89e3 to f9ee551 Compare January 14, 2026 11:01
@pnovotny

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 10728

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jan 14, 2026
@LadislavVasina1

Copy link
Copy Markdown
Contributor

@pnovotny Any update on this? Can we merge?

@pnovotny

Copy link
Copy Markdown
Contributor Author

@LadislavVasina1 not ready for merging yet. The dev PR theforeman/foreman#10728 is still in progress. When it's reviewed and merged, I'll re-verify this PR and then it's good to go.
I'll remove the 'do not merge' label when it's ready.

@pnovotny

pnovotny commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 11091

@pnovotny pnovotny removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 8, 2026
@Satellite-QE

Copy link
Copy Markdown
Contributor

PRT Result

Build Number: 857
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection --external-logging
Test Result : ========== 2 failed, 1 deselected, 20 warnings in 2114.17s (0:35:14) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Jul 8, 2026
Locator for the template nagigation bar (Editor/Changes/Preview) has slightly changed.

Related to change theforeman/foreman#10728
@pnovotny
pnovotny force-pushed the template-editor-navbar-upd branch from f9ee551 to 6a56886 Compare July 8, 2026 13:46
@pnovotny

pnovotny commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 11091

@Satellite-QE Satellite-QE removed the PRT-Failed Indicates that latest PRT run is failed for the PR label Jul 8, 2026
@Satellite-QE

Copy link
Copy Markdown
Contributor

PRT Result

Build Number: 858
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection --external-logging
Test Result : ========== 2 passed, 1 deselected, 14 warnings in 2108.46s (0:35:08) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 8, 2026
@pnovotny

pnovotny commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

The actual fixing PR theforeman/foreman#11091 does not require any changes in QE automation, as verified in the latest PRT run.

Closing this PR as no longer relevant.

@pnovotny pnovotny closed this Jul 8, 2026
@pnovotny
pnovotny deleted the template-editor-navbar-upd branch July 8, 2026 15:17
@pnovotny
pnovotny restored the template-editor-navbar-upd branch July 14, 2026 14:15
@pnovotny pnovotny reopened this Jul 14, 2026

@sourcery-ai sourcery-ai Bot 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.

Hey - I've left some high level feedback:

  • The # For PRT only comment on rendering_options is unclear; consider expanding it to briefly explain what PRT refers to and why this locator differs from other contexts.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `# For PRT only` comment on `rendering_options` is unclear; consider expanding it to briefly explain what PRT refers to and why this locator differs from other contexts.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@pnovotny

Copy link
Copy Markdown
Contributor Author

Reopening, since this automation fix is acually needed for theforeman/foreman#11099

@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 14, 2026
@pnovotny

Copy link
Copy Markdown
Contributor Author
trigger: test-robottelo
pytest: tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection
theforeman:
    foreman: 11099

@Satellite-QE

Copy link
Copy Markdown
Contributor

PRT Result

Build Number: 867
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_jobtemplate.py -k test_positive_preview_template_check_for_injection --external-logging
Test Result : ========== 2 passed, 1 deselected, 14 warnings in 2204.84s (0:36:44) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 14, 2026
@pnovotny

Copy link
Copy Markdown
Contributor Author

PRT passed. Now waiting only for theforeman/foreman#11099 to be merged...

@pnovotny

Copy link
Copy Markdown
Contributor Author

theforeman/foreman#11099 has been merged.

@pnovotny
pnovotny merged commit 5b86882 into SatelliteQE:master Jul 15, 2026
12 checks passed
@pnovotny
pnovotny deleted the template-editor-navbar-upd branch July 15, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR Stream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants