Closed sanjacob closed 1 year ago
You can see a proof of concept on this repo: jacobszpz/test-ga-pyqt-test
This doesn't seem like a pytest-qt issue, as it reproduces with just this:
import pytest
import sys
from PyQt5.QtWebEngineWidgets import QWebEnginePage
from PyQt5.QtWidgets import QWidget, QApplication
app = QApplication(sys.argv)
def test_widget():
widget = QWidget()
widget.show()
Assuming it's some sort of pytest-xvfb issue, though I'm still puzzled what's going on exactly. https://github.com/The-Compiler/pytest-xvfb/issues/11 would probably the right place to continue this.
Bug description
Running pytest-qt with pytest-xvfb and importing QWebEnginePage leads to an X11 error in Github Actions (ubuntu-latest).
To Reproduce
To be run with pytest-xvfb: