diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8a69172..385cd0d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,8 @@ jobs: run: | sudo apt update && sudo apt install -y \ xvfb herbstluftwm libssl-dev openssl libacl1-dev libacl1 build-essential \ - libxkbcommon-x11-0 dbus-x11 + libxkbcommon-x11-0 dbus-x11 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \ + libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 - name: Install system dependencies (macOS) if: runner.os == 'macOS' run: | diff --git a/setup.cfg b/setup.cfg index 1a079d3a..58743217 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ setup_requires = install_requires = appdirs paramiko - pyqt5 < 5.15 + pyqt5 peewee python-dateutil apscheduler diff --git a/tests/test_source.py b/tests/test_source.py index 6360f4d3..b461dad0 100644 --- a/tests/test_source.py +++ b/tests/test_source.py @@ -1,4 +1,3 @@ -from PyQt5 import QtCore import vorta.models import vorta.views @@ -11,5 +10,5 @@ def test_add_folder(qapp, qtbot, tmpdir, monkeypatch, choose_file_dialog): main.tabWidget.setCurrentIndex(1) tab = main.sourceTab - qtbot.mouseClick(tab.sourceAddFolder, QtCore.Qt.LeftButton) + tab.sourceAddFolder.click() qtbot.waitUntil(lambda: tab.sourceFilesWidget.count() == 2, timeout=5000)