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

WebOverview failed #74

Open
yi-liang opened this issue Sep 27, 2016 · 3 comments
Open

WebOverview failed #74

yi-liang opened this issue Sep 27, 2016 · 3 comments
Labels

Comments

@yi-liang
Copy link

trying to run the test "WebOverview" and got the error:
AttributeError: 'WebOverview' object has no attribute 'driver'
was "setup()" missed in the "WebOverview" or it's expecting some other tests to run before it?
Thanks

@mbanders
Copy link
Contributor

It would help if you copy-pasted the full output, otherwise we are just guessing.

Looking at the code:

class WebOverview(WebTest)

That creates a class WebOverview which is a subclass of WebTest. The WebTest defines a setup() function. So WebOverview has that same setup() function as well.

@yi-liang
Copy link
Author

the full output is
==================== Begin WebOverview ====================
Checking overview page

TEST_CASE_RESULT = FAIL

=========== Test failed! Running recovery ===========
'WebOverview' object has no attribute 'driver'
Traceback (most recent call last):
File "/home/jenkins/boardfarm/boardfarm/tests/linux_boot.py", line 72, in testWrapper
self.runTest()
File "/home/jenkins/boardfarm/boardfarm/tests/webui_tests.py", line 45, in runTest
action_chains = ActionChains(self.driver)
AttributeError: 'WebOverview' object has no attribute 'driver'
echo "1 1 1 7" > /proc/sys/kernel/printk

@mbanders
Copy link
Contributor

Maybe @miska knows. Looks like it's not running the setup() function for some reason which is neeced so that self.driver is created.

@mattsm mattsm added the bug label Oct 14, 2016
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

3 participants