@@ -131,11 +131,6 @@ IndicatorTest {
131 wait(1); // row seems to take a bit of time for item x values to update.
131 wait(1); // row seems to take a bit of time for item x values to update.
134− function cleanup() {
135− AccountsService.keymaps = [];
136− MockInputDeviceBackend.removeDevice("/kbd0");
139 function wait_for_expansion_to_settle() {
134 function wait_for_expansion_to_settle() {
140 tryCompare(heightAnimation, "running", false);
135 tryCompare(heightAnimation, "running", false);
141 wait(200); // put a little extra wait in for things to settle
136 wait(200); // put a little extra wait in for things to settle
@@ -309,7 +304,10 @@ IndicatorTest {
309 AccountsService.keymaps = data.keymaps;
304 AccountsService.keymaps = data.keymaps;
310 if (data.keyboard) {
305 if (data.keyboard) {
311 MockInputDeviceBackend.addMockDevice("/kbd0", InputInfo.Keyboard);
306 MockInputDeviceBackend.addMockDevice("/kbd0", InputInfo.Keyboard);
308+ MockInputDeviceBackend.removeDevice("/kbd0");
313 compare(item.hidden, data.hidden);
311 compare(item.hidden, data.hidden);