Commit ff2d6aa8 authored by Christian Stenger's avatar Christian Stenger

Squish: Fix tst_simple_analyze

The JavaScript tab is now disabled if there's no content at all.

Change-Id: I00e0a6adabd42d0783ad6833fe707323f5a69aae
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent e8466518
......@@ -88,8 +88,8 @@ def main():
waitFor('"Elapsed: 5" in str(elapsedLabel.text)', 20000)
clickButton(stopButton)
if safeClickTab("JavaScript"):
model = waitForObject(":JavaScript.QmlProfilerEventsTable_QmlProfiler::"
"Internal::QV8ProfilerEventsMainView").model()
model = findObject(":JavaScript.QmlProfilerEventsTable_QmlProfiler::"
"Internal::QV8ProfilerEventsMainView").model()
test.compare(model.rowCount(), 0)
if safeClickTab("Events"):
colPercent, colTotal, colCalls, colMean, colMedian, colLongest, colShortest = range(2, 9)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment