From 7054d82795cfa2fb19be1516b6a3832d7a04d181 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Dec 07 2018 15:21:40 +0000 Subject: Correct typo. --- diff --git a/gnome_terminal/features/steps/steps.py b/gnome_terminal/features/steps/steps.py index 1109e4a..f151d6b 100755 --- a/gnome_terminal/features/steps/steps.py +++ b/gnome_terminal/features/steps/steps.py @@ -60,9 +60,8 @@ def press_shortcut(context, option): @step('click on {button} button') def click_button(context, button): - breakpoint() if button == "Set Title": - mItems = app.findChildren(lambda x: x.roleName == 'menu item') + mItems = context.app.instance.findChildren(lambda x: x.roleName == 'menu item') for item in mItems: if "Set Title" in item.name: namedButton = item