You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@xiam I've been looking for a solution for this, but I'm not sure what the problem is so far. Do you want to take a quick look since you wrote the script and the fix might be more obvious to you?
test_001_setup (main.TestFiretweet) ... ok
test_002_connect (main.TestFiretweet) ... ERROR
test_003_remove_app (main.TestFiretweet) ... ERROR
test_004_install_package (main.TestFiretweet) ... ERROR
test_005_launch_app (main.TestFiretweet) ... ERROR
test_006_write_username (main.TestFiretweet) ... ERROR
test_007_write_invalid_password (main.TestFiretweet) ... ERROR
test_008_invalid_login (main.TestFiretweet) ... ERROR
test_009_fix_password (main.TestFiretweet) ... ERROR
test_010_valid_login (main.TestFiretweet) ... ERROR
ERROR: test_002_connect (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 49, in test_002_connect
device.press("POWER", MonkeyDevice.DOWN_AND_UP)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 49, in test_002_connect
device.press("POWER", MonkeyDevice.DOWN_AND_UP)
NullPointerException: java.lang.NullPointerException
ERROR: test_003_remove_app (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 59, in test_003_remove_app
device.shell('killall com.android.commands.monkey')
NullPointerException: java.lang.NullPointerException
ERROR: test_004_install_package (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 65, in test_004_install_package
device.installPackage(APK_PATH)
NullPointerException: java.lang.NullPointerException
ERROR: test_005_launch_app (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 71, in test_005_launch_app
device.startActivity(component=PACKAGE+'/'+ACTIVITY)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 71, in test_005_launch_app
device.startActivity(component=PACKAGE+'/'+ACTIVITY)
NullPointerException: java.lang.NullPointerException
ERROR: test_006_write_username (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 81, in test_006_write_username
device.type(TWITTER_USERNAME)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 81, in test_006_write_username
device.type(TWITTER_USERNAME)
NullPointerException: java.lang.NullPointerException
ERROR: test_007_write_invalid_password (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 92, in test_007_write_invalid_password
device.press('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 92, in test_007_write_invalid_password
device.press('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
NullPointerException: java.lang.NullPointerException
ERROR: test_008_invalid_login (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 106, in test_008_invalid_login
device.press ('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 106, in test_008_invalid_login
device.press ('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
NullPointerException: java.lang.NullPointerException
ERROR: test_009_fix_password (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 120, in test_009_fix_password
device.press ('KEYCODE_DPAD_LEFT', MonkeyDevice.DOWN_AND_UP)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 120, in test_009_fix_password
device.press ('KEYCODE_DPAD_LEFT', MonkeyDevice.DOWN_AND_UP)
NullPointerException: java.lang.NullPointerException
ERROR: test_010_valid_login (main.TestFiretweet)
Traceback (most recent call last):
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 143, in test_010_valid_login
device.press ('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
File "/Users/todd/Dev/lantern/firetweet/tests/testrunner.py", line 143, in test_010_valid_login
device.press ('KEYCODE_DPAD_DOWN', MonkeyDevice.DOWN_AND_UP)
NullPointerException: java.lang.NullPointerException
Ran 10 tests in 122.248s
FAILED (errors=9)
The text was updated successfully, but these errors were encountered: