Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- replaceafill@system76:~/sandboxes/quiz_assignments$ bin/test-headless -vvv
- Running tests at level 1
- Running schooltool.quiz.stesting.quiz_selenium_layer tests:
- Set up schooltool.quiz.stesting.quiz_selenium_layer serving at http://127.0.0.1:38965/
- in 5.466 seconds.
- Running:
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_management.txt (30.126 s)
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_import.txt (8.043 s)
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt (49.522 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt
- Failed doctest test for student_answers.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt", line 113, in student_answers.txt
- Failed example:
- camila.query.id('form-widgets-QuizItem').ui.set_value(answer_1)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1289, in __run
- compileflags, 1) in test.globs
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt", line 113, in <module>
- >>> camila.query.id('form-widgets-QuizItem').ui.set_value(answer_1)
- File "/home/replaceafill/.buildout/eggs/schooltool-2.4.3dev_r3593-py2.7.egg/schooltool/testing/selenium.py", line 575, in find_element
- return self._wrap(method(param))
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 188, in find_element_by_id
- return self.find_element(by=By.ID, value=id_)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 667, in find_element
- {'using': by, 'value': value})['value']
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 155, in execute
- self.error_handler.check_response(response)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
- raise exception_class(message, screen, stacktrace)
- NoSuchElementException: Message: u'The element could not be found'
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/student_answers.txt-line_112-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/student_answers.txt-line_112-teacher.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/student_answers.txt-line_112-camila.png
- The following test left new threads behind:
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt
- New thread(s): [<_DummyThread(Dummy-2, started daemon 140049121441536)>]
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_preferences.txt (10.654 s)
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills_button.txt (45.822 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills_button.txt
- Failed doctest test for update_skills_button.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills_button.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills_button.txt", line 59, in update_skills_button.txt
- Failed example:
- "Skills" in views.text[0]
- Differences (ndiff with -expected +actual):
- - True
- + False
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/update_skills_button.txt-line_58-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/update_skills_button.txt-line_58-teacher.png
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_duplicate.txt (14.997 s)
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/duplicated_choices.txt (18.190 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/duplicated_choices.txt
- Failed doctest test for duplicated_choices.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/duplicated_choices.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/duplicated_choices.txt", line 93, in duplicated_choices.txt
- Failed example:
- print camila.query.css('.page .header h1').text
- Differences (ndiff with -expected +actual):
- - Repeated Choices Quiz
- + Server Error
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/duplicated_choices.txt-line_92-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/duplicated_choices.txt-line_92-teacher.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/duplicated_choices.txt-line_92-camila.png
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt (49.625 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt
- Failed doctest test for quiz_deployment.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt", line 151, in quiz_deployment.txt
- Failed example:
- camila.query.id('form-widgets-QuizItem').ui.set_value(answer_1)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1289, in __run
- compileflags, 1) in test.globs
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt", line 151, in <module>
- >>> camila.query.id('form-widgets-QuizItem').ui.set_value(answer_1)
- File "/home/replaceafill/.buildout/eggs/schooltool-2.4.3dev_r3593-py2.7.egg/schooltool/testing/selenium.py", line 575, in find_element
- return self._wrap(method(param))
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 188, in find_element_by_id
- return self.find_element(by=By.ID, value=id_)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 667, in find_element
- {'using': by, 'value': value})['value']
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 155, in execute
- self.error_handler.check_response(response)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
- raise exception_class(message, screen, stacktrace)
- NoSuchElementException: Message: u'The element could not be found'
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/quiz_deployment.txt-line_150-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/quiz_deployment.txt-line_150-teacher.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/quiz_deployment.txt-line_150-camila.png
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt (64.587 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt
- Failed doctest test for update_skills.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt", line 81, in update_skills.txt
- Failed example:
- student1.query.id("form-widgets-QuizItem-0").click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1289, in __run
- compileflags, 1) in test.globs
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt", line 81, in <module>
- >>> student1.query.id("form-widgets-QuizItem-0").click()
- File "/home/replaceafill/.buildout/eggs/schooltool-2.4.3dev_r3593-py2.7.egg/schooltool/testing/selenium.py", line 575, in find_element
- return self._wrap(method(param))
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 188, in find_element_by_id
- return self.find_element(by=By.ID, value=id_)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 667, in find_element
- {'using': by, 'value': value})['value']
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 155, in execute
- self.error_handler.check_response(response)
- File "/home/replaceafill/.buildout/eggs/selenium-2.24.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
- raise exception_class(message, screen, stacktrace)
- NoSuchElementException: Message: u'The element could not be found'
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/update_skills.txt-line_80-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/update_skills.txt-line_80-teacher.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/update_skills.txt-line_80-student1.png
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_editors.txt (12.078 s)
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt (14.439 s)
- Failure in test /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt
- Failed doctest test for quiz_export.txt
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt", line 0
- ----------------------------------------------------------------------
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt", line 73, in quiz_export.txt
- Failed example:
- print_sheet(xls.sheet_by_name('QuizItems'))
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1289, in __run
- compileflags, 1) in test.globs
- File "/home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt", line 73, in <module>
- >>> print_sheet(xls.sheet_by_name('QuizItems'))
- AttributeError: 'str' object has no attribute 'sheet_by_name'
- Screenshots:
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/quiz_export.txt-line_72-manager.png
- file:///home/replaceafill/sandboxes/quiz_assignments/parts/test-headless/screenshots/quiz_export.txt-line_72-teacher.png
- Ran 11 tests with 6 failures and 0 errors in 5 minutes 20.270 seconds.
- Tearing down left over layers:
- Tear down schooltool.quiz.stesting.quiz_selenium_layer in 0.100 seconds.
- Tests with failures:
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/student_answers.txt
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills_button.txt
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/duplicated_choices.txt
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_deployment.txt
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/update_skills.txt
- /home/replaceafill/sandboxes/quiz_assignments/src/schooltool/quiz/browser/stests/quiz_export.txt
- replaceafill@system76:~/sandboxes/quiz_assignments$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement