Commit 9405aca5 authored by Samuel Thibault's avatar Samuel Thibault Committed by vhumpa

gedit test: fix gedit's application name

It was renamed into org.gnome.gedit in gedit 3.34.
parent 28fdb94a
Pipeline #128833871 failed with stages
in 0 seconds
......@@ -872,7 +872,10 @@ class TestUnicodeNames(unittest.TestCase):
dogtail.config.config.searchCutoffCount = 3
import dogtail.utils
self.pid = dogtail.utils.run('gedit')
self.app = dogtail.tree.root.application('gedit')
try:
self.app = dogtail.tree.root.application('org.gnome.gedit')
except:
self.app = dogtail.tree.root.application('gedit')
def test_unicode_char_in_name(self):
self.app.child('Menu', roleName='toggle button').click()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment