Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireTweet tests failing #138

Open
atavism opened this issue Jun 24, 2015 · 2 comments
Open

FireTweet tests failing #138

atavism opened this issue Jun 24, 2015 · 2 comments
Assignees
Labels

Comments

@atavism
Copy link

atavism commented Jun 24, 2015

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)

@atavism
Copy link
Author

atavism commented Jun 24, 2015

@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?

@atavism atavism added the P1 label Jun 24, 2015
@xiam xiam self-assigned this Jun 26, 2015
@xiam
Copy link
Contributor

xiam commented Jun 26, 2015

Sure @atavism, will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants