Commit 1aa20447 authored by Harald Sitter's avatar Harald Sitter 🌼

do not access applications array through desktops

pointless roundtrip. due to isolation there's always only one app anyway
parent 018108dc
......@@ -132,7 +132,7 @@ class TestDuplicateAttach < ATSPITest
drkonqi = nil
8.times do # be gracious for drkonqi to come up an atspi
drkonqi = ATSPI.desktops[0].applications.find { |x| x.name == 'drkonqi' }
drkonqi = ATSPI.applications.find { |x| x.name == 'drkonqi' }
break if drkonqi
sleep 2
end
......
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