diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-06-25 13:27:06 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-06-25 14:49:51 +0000 |
commit | 8d0e57e7dbb436191869363e8929f0061fe90912 (patch) | |
tree | 49c7943d2f7abeb3becf84cc075c1561a10a9d0e /tests/system | |
parent | 29e92e4dda540aea4629219314f6841f6ef06353 (diff) |
Squish: Fix tst_qml_locals
The locals and expressions display nowadays an additional
column which might be hidden.
Use the right 'Value' column to fetch the values.
Fixes: QTCREATORBUG-22617
Change-Id: I646b05eed607c5941f2713013221eb4c511d901b
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/suite_debugger/tst_qml_locals/test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/system/suite_debugger/tst_qml_locals/test.py b/tests/system/suite_debugger/tst_qml_locals/test.py index 0430c306c9..f85a2d3b23 100644 --- a/tests/system/suite_debugger/tst_qml_locals/test.py +++ b/tests/system/suite_debugger/tst_qml_locals/test.py @@ -122,7 +122,8 @@ def fetchItems(index, valIndex, treeView): tree.setName(name) tree.setValue(value) for row in range(model.rowCount(index)): - tree.addChild(fetchItems(model.index(row, 0, index), model.index(row, 1, index), treeView)) + tree.addChild(fetchItems(model.index(row, 0, index), + model.index(row, 2, index), treeView)) return tree def checkForEmptyRows(items, isRootCheck=True): |