diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-03-20 12:05:08 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-05-11 09:48:04 +0000 |
commit | 0d18bfe6b33afc38b65f23996f1e9ffb4fba6e69 (patch) | |
tree | 0c3b8a4e89db017f759470bf10de98e65d98f0bf | |
parent | 1f919391eee10e888a811ff1cd8676f55ca78692 (diff) |
Remove flaky test_openDuringExitTransitionWithTimeout() test
This was added in c1420ee5423dfa104d5ff87bc529b4530dc998d6. It has been
randomly failing ever since, even after an attempt to stabilise it in
20c35f9a2b5fd970d43efc98c324e1e4c9dd153d.
We can live without a test for this if it's going to cause so much
trouble.
Change-Id: I503bda6703a658feff288905132fce13fd01a74c
Fixes: QTBUG-82643
Pick-to: 5.15
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | tests/auto/controls/data/tst_tooltip.qml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/auto/controls/data/tst_tooltip.qml b/tests/auto/controls/data/tst_tooltip.qml index 6d45b09d..4b4bf4fa 100644 --- a/tests/auto/controls/data/tst_tooltip.qml +++ b/tests/auto/controls/data/tst_tooltip.qml @@ -238,35 +238,6 @@ TestCase { } } - function test_openDuringExitTransitionWithTimeout() { - let control = createTemporaryObject(toolTipWithExitTransition, testCase, { timeout: 250 }) - verify(control) - - let openedSpy = signalSpy.createObject(control, { target: control, signalName: "opened" }) - verify(openedSpy.valid) - - control.open() - verify(control.visible) - // Can't be fully open yet because the enter transition has only just started. - compare(control.opened, false) - compare(control.enter.running, true) - // Wait for it to have opened. We don't check that the opened property is still true - // because it can result in hard-to-reproduce flakiness. Instead we just check that - // it was opened at some point. - tryCompare(openedSpy, "count", 1) - - // Let it timeout and begin the exit transition. - tryCompare(control, "opened", false) - verify(control.visible) - tryCompare(control.exit, "running", true) - verify(control.visible) - - // Quickly open it again; it should still timeout eventually. - control.open() - tryCompare(openedSpy, "count", 2) - tryCompare(control.exit, "running", true) - } - function test_makeVisibleWhileExitTransitionRunning_data() { return [ { tag: "imperative", imperative: true }, |