Details
Description
Create a java class with autogenerated 'main' method and try to assert a tooltip of todo item in ruler. This script fails to be replayed:
get-editor "Program.java" | get-left-ruler | hover-ruler -line 9 get-window -from "Information Window" | get-editbox | get-property text | equals "TODO Auto-generated method stub" | verify-true
This sounds weird, but it looks like that workaround for hover-ruler is to insert a dummy 'hover-text' command.
When executing command like this alone, the tooltip appears for a few milliseconds and then hides, so assertion fails:
But when I add simple hover-text command as a first line of script, the test passes: