fix: fix version mismatch and SSL errors in UI tests#869
Merged
averevki merged 1 commit intoKuadrant:mainfrom Feb 16, 2026
Merged
fix: fix version mismatch and SSL errors in UI tests#869averevki merged 1 commit intoKuadrant:mainfrom
averevki merged 1 commit intoKuadrant:mainfrom
Conversation
Signed-off-by: emmaaroche <eroche@redhat.com>
Member
|
Wont updating base image in https://github.com/Kuadrant/testsuite/blob/main/ui.Dockerfile#L1 help? |
Contributor
Author
|
@azgabur, mentioned in PR description that I will need to investigate it more as tests are failing with redirect issues using v1.58 base image, I will look into this soon but don't want tests failing in nightlies due to version mismatch for now. |
azgabur
approved these changes
Feb 16, 2026
Member
azgabur
left a comment
There was a problem hiding this comment.
Okay got it, so for now this is fine 👍
averevki
reviewed
Feb 16, 2026
averevki
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR pins Playwright to 1.57.0 and adds SSL certificate bypass to fix test failures in UI image.
Without pinning, Poetry installs the latest Playwright (1.58.0) which doesn't match the browser binaries in mcr.microsoft.com/playwright/python:v1.57.0-noble, causing:
BrowserType.launch: Executable doesn't exist at /ms-playwright/firefox-1509/firefoxWe're staying on 1.57.0 for now because it works reliably. Playwright 1.58.0 has an issue with JS redirects in headless mode that I need to investigate more.
Also, as there is no CA certificates in the UI image, this is causing SSL errors when using the image. Adding
ignore_https_errors=Trueflag bypasses certificate validation during both login and test execution. This will also need to be added to image at a later stage.Changes
pyproject.toml: Pinplaywright = "1.57.0"to match Docker base imageconftest.py: Addignore_https_errors=Trueto browser contextsVerification Steps