Base URL | https://mozillians-dev.allizom.org |
---|---|
Selenium API | rc |
Selenium Server | http://localhost:4444 |
Browser | Firefox 7 on Mac OS X |
Timeout | 180000 |
Capture Network Traffic | False |
Credentials | /Users/webqa/webqa-credentials/mozillians.yaml |
19 tests ran in 158 seconds.
12 passed, 0 skipped, 2 failed, 0 errors.
3 expected failures, 2 unexpected passes.
Result | Class | Name | Duration | Links |
---|---|---|---|---|
Passed | test_about_page.TestAboutPage | test_about_page | 0s | HTML, Screenshot |
Passed | test_account.TestAccount | test_login_logout | 0s | HTML, Screenshot |
Passed | test_account.TestAccount | test_login_with_invalid_ldap_credentials | 0s | HTML, Screenshot |
Passed | test_invite.TestInvite | test_inviting_an_invalid_email_address | 0s | HTML, Screenshot |
Passed | test_profile.TestProfile | test_profile_deletion_confirmation | 0s | HTML, Screenshot |
Passed | test_account.TestAccount | test_login_with_invalid_credentials | 0s | HTML, Screenshot |
Passed | test_profile.TestProfile | test_edit_profile_information | 0s | HTML, Screenshot |
Passed | test_account.TestAccount | test_reset_password | 0s | HTML, Screenshot |
Failed | test_invite.TestInvite | test_invite | 0s | HTML, Screenshot |
self = <test_invite.TestInvite instance at 0x10a0849e0>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x10a2f3a28> def test_invite(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() invite_page = home_page.click_invite_link() Assert.true(invite_page.is_csrf_token_present) mail_address = "validuser@example.com" invite_success_page = invite_page.invite(mail_address) > Assert.true(invite_success_page.is_mail_address_present(mail_address)) test_invite.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <class unittestzero.Assert at 0x10a2db110>, first = False, msg = None @classmethod def true(self, first, msg=None): > assert first is True, msg E assert False is True .env/lib/python2.6/site-packages/unittestzero.py:53: AssertionError | ||||
Failed | test_profile.TestProfile | test_change_password | 0s | HTML, Screenshot |
self = <test_profile.TestProfile instance at 0x10a07c1b8>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x10a2fb3f8> def test_change_password(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() profile_page = home_page.click_profile_link() edit_profile_page = profile_page.click_edit_my_profile_button() change_password_page = edit_profile_page.click_change_password_link() > Assert.true(change_password_page.is_old_password_field_present) test_profile.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <class unittestzero.Assert at 0x10a2e3110>, first = False, msg = None @classmethod def true(self, first, msg=None): > assert first is True, msg E assert False is True .env/lib/python2.6/site-packages/unittestzero.py:53: AssertionError | ||||
Passed | test_search.TestSearch | test_search_function_only_present_for_vouched_users | 0s | HTML, Screenshot |
XPassed | test_profile.TestProfile | test_creating_profile_without_checking_privacy_policy_checkbox | 0s | HTML, Screenshot |
XFailed | test_profile.TestProfile | test_creating_profile_with_non_matching_passwords | 0s | HTML, Screenshot |
self = <test_profile.TestProfile instance at 0x10a3eb0e0>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x10a084908> @xfail(reason="Bug 692271 - Registration with invalid form data redirects to login page in some cases") def test_creating_profile_with_non_matching_passwords(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) register_page = home_page.click_join_us_link() > register_page.set_email("invalidpassword@example.com") test_profile.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <mozillians_page.MozilliansCreateProfilePage object at 0x10a3bbfd0> email_string = 'invalidpassword@example.com' def set_email(self, email_string): > self.sel.type(self._email_field_locator, email_string) mozillians_page.py:381: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.selenium.selenium object at 0x10a3ec550> locator = 'id=id_email', value = 'invalidpassword@example.com' def type(self,locator,value): """ Sets the value of an input field, as though you typed it in. Can also be used to set the value of combo boxes, check boxes, etc. In these cases, value should be the value of the option selected, not the visible text. 'locator' is an element locator 'value' is the value to type """ > self.do_command("type", [locator,value,]) .env/lib/python2.6/site-packages/selenium/selenium.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.selenium.selenium object at 0x10a3ec550>, verb = 'type' args = ['id=id_email', 'invalidpassword@example.com'] def do_command(self, verb, args): conn = httplib.HTTPConnection(self.host, self.port) try: body = u'cmd=' + urllib.quote_plus(unicode(verb).encode('utf-8')) for i in range(len(args)): body += '&' + unicode(i+1) + '=' + \ urllib.quote_plus(unicode(args[i]).encode('utf-8')) if (None != self.sessionId): body += "&sessionId=" + unicode(self.sessionId) headers = { "Content-Type": "application/x-www-form-urlencoded; charset=utf-8" } conn.request("POST", "/selenium-server/driver/", body, headers) response = conn.getresponse() data = unicode(response.read(), "UTF-8") if (not data.startswith('OK')): > raise Exception, data E Exception: ERROR: Element id=id_email not found .env/lib/python2.6/site-packages/selenium/selenium.py:217: Exception | ||||
XPassed | test_profile.TestProfile | test_creating_profile_with_invalid_email_address | 0s | HTML, Screenshot |
Passed | test_search.TestSearch | test_that_search_returns_results_for_irc_nickname | 0s | HTML, Screenshot |
XFailed | test_profile.TestProfile | test_profile_creation | 0s | HTML, Screenshot |
self = <test_profile.TestProfile instance at 0x10a628ab8>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x10a6c2488> @xfail(reason="Bug 692271 - Registration with invalid form data redirects to login page in some cases") def test_profile_creation(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) register_page = home_page.click_join_us_link() register_page.set_email("newvaliduserwith@example.com") register_page.set_password("newpassword") register_page.set_first_name("New") register_page.set_last_name("MozilliansUser") register_page.check_privacy_policy_checkbox() login_page = register_page.click_create_account_button() > Assert.true(login_page.is_account_needs_verification_message_present) test_profile.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <class unittestzero.Assert at 0x10a7fea10>, first = False, msg = None @classmethod def true(self, first, msg=None): > assert first is True, msg E assert False is True .env/lib/python2.6/site-packages/unittestzero.py:53: AssertionError | ||||
Passed | test_search.TestSearch | test_that_search_returns_results_for_first_name | 0s | HTML, Screenshot |
XFailed | test_search.TestSearch | test_search_for_too_many_results | 0s | HTML, Screenshot |
self = <test_search.TestSearch instance at 0x10a084098>
mozwebqa = <mozwebqa.mozwebqa.TestSetup instance at 0x10a2cdf80> @xfail(reason="Too few accounts on stage and trunk to be triggering this message") def test_search_for_too_many_results(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() search_page = home_page.search_for(".") > Assert.true(search_page.too_many_results_message_shown) test_search.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <class unittestzero.Assert at 0x10a2db110>, first = False, msg = None @classmethod def true(self, first, msg=None): > assert first is True, msg E assert False is True .env/lib/python2.6/site-packages/unittestzero.py:53: AssertionError | ||||
Passed | test_search.TestSearch | test_that_search_returns_results_for_email_substring | 0s | HTML, Screenshot |