0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix: spinner: update reference image for widget test, use apply_theme

This commit is contained in:
2024-07-10 15:16:07 +02:00
parent 8308115f36
commit 63db1352ee
4 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,13 +1,13 @@
import pytest
import qdarktheme
from bec_widgets.utils.colors import apply_theme
from bec_widgets.utils.reference_utils import snap_and_compare
from bec_widgets.widgets.spinner.spinner import SpinnerWidget
@pytest.fixture
def spinner_widget(qtbot):
qdarktheme.setup_theme("light")
apply_theme("light")
spinner = SpinnerWidget()
qtbot.addWidget(spinner)
qtbot.waitExposed(spinner)