From bc521b68a635e89125dcc05110c4ee984c08bb35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wierci=C5=84ski?= Date: Thu, 21 Nov 2024 14:00:28 +0100 Subject: [PATCH] wasm tests: Update window class in Selenium test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename qt-window to qt-decorated-window to follow changes introduced by: 2ab07b4558ce074fcd6cac699ea71df31fc324f5. Change-Id: I41f84cc201821d620be11b67939aa94664a8d208 Reviewed-by: Morten Johan Sørvig --- tests/auto/wasm/selenium/qwasmwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/wasm/selenium/qwasmwindow.py b/tests/auto/wasm/selenium/qwasmwindow.py index fcda0359c4c..6f78d54a10c 100644 --- a/tests/auto/wasm/selenium/qwasmwindow.py +++ b/tests/auto/wasm/selenium/qwasmwindow.py @@ -667,7 +667,7 @@ def query_windows(self): shadow_container = self.element.find_element(By.CSS_SELECTOR, f'#qt-shadow-container') return [ Window(self, element=element) for element in shadow_container.shadow_root.find_elements( - By.CSS_SELECTOR, f'div#{self.name} > div.qt-window')] + By.CSS_SELECTOR, f'div#{self.name} > div.qt-decorated-window')] def find_element(self, method, query): shadow_container = self.element.find_element(By.CSS_SELECTOR, f'#qt-shadow-container')