appium/appium — pull request #734 by snevesbarros (2013-06-08 21:00:56+00:00)
Title: lookForAlert fix

The returnedFromExecuteAtom variable was being used for multiple execution. This caused unnecessary calls to the proxy with "au.alertIsPresent()" as it was set to true by the first request and then set to false by the second. When the first then looked for the alert it was false.

Changed it to be a map with a value for each request.

I ran the safari tests and they passed.