android - espresso times out on CookieManager.getInstance().setCookie(name, value) -
i'm writing espresso test login activity sets cookies:
cookiemanager.getinstance().setcookie(name, value)
but test hangs @ above code times out. looking setcookie code think calls native jni method.
i can't try setcookie(name, value, callback) because code needs support api level 19.
any idea why happening?
many thanks!
update: add seems happen when test run against emulator. runs without problem against real device.
Comments
Post a Comment