shoes-deprecated
shoes-deprecated copied to clipboard
Shoes/Linux runs checked block too soon
h/t to oliver.gaida The code below on Linux but not OSX causes the click block to run during "setup" instead of waiting for a user action to check/uncheck. Use para instead instead of Alert. The bug plus alert can hang Shoes.
Shoes.app do flow do check(checked: true).click do |c| # alert "#{c.checked?}" para "#{c.checked?}" end para "Check 1" end para "test" end
Only happens if when (checked: true). (checked: false) behaves as expected.
Fixed in Shoes 3.2.13