@@ -218,6 +218,20 @@ Item {
218 tryCompare(ApplicationManager, "focusedApplicationId", app)
218 tryCompare(ApplicationManager, "focusedApplicationId", app)
221+ function test_greeterChangesIndicatorProfile() {
222+ var visibleIndicators = findChild(shell, "visibleIndicators");
223+ tryCompare(visibleIndicators, "profile", shell.indicatorProfile + "_greeter");
225+ LightDM.Greeter.hideGreeter();
226+ tryCompare(visibleIndicators, "profile", shell.indicatorProfile);
228+ LightDM.Greeter.showGreeter();
229+ tryCompare(visibleIndicators, "profile", shell.indicatorProfile + "_greeter");
231+ LightDM.Greeter.hideGreeter();
232+ tryCompare(visibleIndicators, "profile", shell.indicatorProfile);
221 function test_login() {
235 function test_login() {
222 sessionSpy.clear()
236 sessionSpy.clear()
223 tryCompare(sessionSpy, "count", 0)
237 tryCompare(sessionSpy, "count", 0)