Skip to content

Update the 'At last! An FT for a normal page' section output #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adorilson
Copy link
Contributor

My output was:

$ ./manage.py test fts
Creating test database for alias 'default'...
.E
======================================================================
ERROR: test_voting_on_a_new_poll (fts.tests.PollsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/adorilson/workspace/tddjangotutorial/fts/tests.py", line 165, in test_voting_on_a_new_poll
    heading = self.browser.find_element_by_tag_name('h1')
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 309, in find_element_by_tag_name
    return self.find_element(by=By.TAG_NAME, value=name)
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 671, in find_element
    {'using': by, 'value': value})['value']
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute
    self.error_handler.check_response(response)
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"tag name","selector":"h1"}' 

----------------------------------------------------------------------
Ran 2 tests in 34.518s

FAILED (errors=1)
Destroying test database for alias 'default'...

My output was:

$ ./manage.py test fts
Creating test database for alias 'default'...
.E
======================================================================
ERROR: test_voting_on_a_new_poll (fts.tests.PollsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/adorilson/workspace/tddjangotutorial/fts/tests.py", line 165, in test_voting_on_a_new_poll
    heading = self.browser.find_element_by_tag_name('h1')
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 309, in find_element_by_tag_name
    return self.find_element(by=By.TAG_NAME, value=name)
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 671, in find_element
    {'using': by, 'value': value})['value']
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute
    self.error_handler.check_response(response)
  File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"tag name","selector":"h1"}' 

----------------------------------------------------------------------
Ran 2 tests in 34.518s

FAILED (errors=1)
Destroying test database for alias 'default'...
@hjwp
Copy link
Owner

hjwp commented Nov 4, 2012

hmmm. let me take a look...

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

Successfully merging this pull request may close these issues.

2 participants