Skip to content

Commit

Permalink
Skip focus probe on GTK due to XVFB issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Apr 4, 2023
1 parent 88552e8 commit 43a4fd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gtk/tests_backend/widgets/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import asyncio

import pytest

from toga_gtk.libs import Gtk

from .properties import toga_color, toga_font
Expand Down Expand Up @@ -105,4 +107,7 @@ def is_hidden(self):

@property
def has_focus(self):
return self.native.has_focus()
# FIXME: This works when running standalone, but fails under CI.
# I *think* this is because CI is using xvfb.
# return self.native.has_focus()
pytest.skip("Focus changes don't work on GTK inside XVFB")

0 comments on commit 43a4fd9

Please sign in to comment.