Closed mikigo closed 9 months ago
self = <apps.autotest_dde_file_manager.case.main_window_area.fixed_directory.trash.test_trash_1062207.TestFileManager object at 0x7f8bc22f28>, open_file_manager = None def test_trash_1062207(self, open_file_manager): """打开文件管理器--点击菜单--点击设置--对话框下勾选开启普通删除提示""" setting = DfmWidget() # 点击菜单-设置 setting.click_setting_in_menu_by_mk() # 左键单击对话框侧边栏“对话框” setting.click_dialog_box_in_setting_by_attr() # 勾选“开启普通删除提示” setting.click_general_deletion_tips_in_setting_by_image() # 关闭设置窗口 > setting.click_close_in_setting_by_attr() case/main_window_area/fixed_directory/trash/test_trash_1062207.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/uos/.local/share/virtualenvs/deepin-autotest-framework-VPJucK3u/lib/python3.7/site-packages/letmego/__init__.py:88: in wrapped return func(*args, **kwargs) /home/uos/.local/share/virtualenvs/deepin-autotest-framework-VPJucK3u/lib/python3.7/site-packages/funnylog/__init__.py:154: in wrapped return func(*a, **kw) widget/pop_widget.py:117: in click_close_in_setting_by_attr self.click(*self.ui.btn_center("关闭")) ../../src/button_center.py:445: in btn_center btn_x, btn_y = getattr(self, f"btn_center_by_{direction}")(*position) ../../src/button_center.py:300: in btn_center_by_right_top window_x, window_y = self.window_right_top_position() ../../src/button_center.py:177: in window_right_top_position ) = self.window_location_and_sizes() ../../src/button_center.py:87: in window_location_and_sizes app_window_info = self.window_info() ../../src/button_center.py:74: in window_info dbus.Interface(proxy_object, "org.kde.KWin").WindowMove() /home/uos/.local/share/virtualenvs/deepin-autotest-framework-VPJucK3u/lib/python3.7/site-packages/dbus/proxies.py:70: in __call__ return self._proxy_method(*args, **keywords) /home/uos/.local/share/virtualenvs/deepin-autotest-framework-VPJucK3u/lib/python3.7/site-packages/dbus/proxies.py:145: in __call__ **keywords) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <dbus._dbus.SessionBus (session) at 0x7f988bf308>, bus_name = dbus.String(':1.25'), object_path = '/dde', dbus_interface = 'org.kde.KWin', method = 'WindowMove', signature = None, args = (), timeout = -1.0 byte_arrays = False, kwargs = {}, get_args_opts = {'byte_arrays': False}, message = <dbus.lowlevel.MethodCallMessage path: /dde, iface: org.kde.KWin, member: WindowMove dest: :1.25> def call_blocking(self, bus_name, object_path, dbus_interface, method, signature, args, timeout=-1.0, byte_arrays=False, **kwargs): """Call the given method, synchronously. :Since: 0.81.0 """ if object_path == LOCAL_PATH: raise DBusException('Methods may not be called on the reserved ' 'path %s' % LOCAL_PATH) if dbus_interface == LOCAL_IFACE: raise DBusException('Methods may not be called on the reserved ' 'interface %s' % LOCAL_IFACE) # no need to validate other args - MethodCallMessage ctor will do get_args_opts = dict(byte_arrays=byte_arrays) if is_py2: get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False) elif 'utf8_strings' in kwargs: raise TypeError("unexpected keyword argument 'utf8_strings'") message = MethodCallMessage(destination=bus_name, path=object_path, interface=dbus_interface, method=method) # Add the arguments to the function try: message.append(signature=signature, *args) except Exception as e: logging.basicConfig() _logger.error('Unable to set arguments %r according to ' 'signature %r: %s: %s', args, signature, e.__class__, e) raise # make a blocking call reply_message = self.send_message_with_reply_and_block( > message, timeout) E dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/dde' /home/uos/.local/share/virtualenvs/deepin-autotest-framework-VPJucK3u/lib/python3.7/site-packages/dbus/connection.py:651: DBusException
窗管团队移除了 org.kde.KWin 下面 /dde
org.kde.KWin
/dde
已经修复:https://linuxdeepin.github.io/deepin-autotest-framework/RELEASE/#240dev