on xenial help sign in
Add a small test to confirm that unlocked properties are correct
commit98f62c73369dfad2de2485ef5571b7742e4a19fb authorMichael Terry <michael.terry@canonical.com> dateThu 21 Aug 2014, 08:57 (12 years ago) parent6b6d265
1 file changed+11
tests/qmltests/tst_Shell.qml+11
tests/qmltests/tst_Shell.qml+11
@@ -431,5 +431,16 @@ Item {
431431
432432 touchRelease(shell);
433433 }
434+
435+ function test_unlockedProperties() {
436+ // Confirm that various properties have the correct values when unlocked
437+ tryCompare(shell, "locked", false)
438+
439+ var launcher = findChild(shell, "launcher")
440+ tryCompare(launcher, "available", true)
441+
442+ var indicators = findChild(shell, "indicators")
443+ tryCompare(indicators, "available", true)
444+ }
434445 }
435446}