sw/qa/uitest/writer_tests7/tdf132714.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 14db4e103b831cf9f9e2c94a1b555857187f0a9a Author: Mike Kaganski <[email protected]> AuthorDate: Thu Mar 5 08:11:33 2026 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Thu Mar 5 10:03:44 2026 +0100 Fix UITest on Windows No idea why it passes elsewhere; the problem was, that the top focus window changes when activating the chart. Change-Id: Iaf96103cd6a4e91e3e06af4aea49a898ffb9251b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201000 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/sw/qa/uitest/writer_tests7/tdf132714.py b/sw/qa/uitest/writer_tests7/tdf132714.py index fdeb4301d299..10d5e3b3ee9a 100644 --- a/sw/qa/uitest/writer_tests7/tdf132714.py +++ b/sw/qa/uitest/writer_tests7/tdf132714.py @@ -86,7 +86,7 @@ class tdf132714(UITestCase): xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE":"RETURN"})) # open DataRanges dialog window - xChartMain = xChartMainTop.getChild("chart_window") + xChartMain = self.xUITest.getTopFocusWindow().getChild("chart_window") xSeriesObj = xChartMain.getChild("CID/Page=") # Without the fix in place, this test would have crashed here
