Skip to content

Commit

Permalink
wasm tests: Update window class in Selenium test
Browse files Browse the repository at this point in the history
Rename qt-window to qt-decorated-window to follow changes introduced by:
2ab07b4.

Change-Id: I41f84cc201821d620be11b67939aa94664a8d208
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
  • Loading branch information
Piotr Wierciński committed Dec 20, 2024
1 parent 6e7a15f commit bc521b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/auto/wasm/selenium/qwasmwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit bc521b6

Please sign in to comment.