Merge pull request #12100 from edx/benp/selenium-253-with-screenshots

Bok-choy tests: use firefox 42.0, selenium 2.53.1
This commit is contained in:
Ben Patterson
2016-04-24 09:59:36 -04:00
6 changed files with 12 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ from unittest import skip
from nose.plugins.attrib import attr
import pytz
import urllib
from ..helpers import skip_if_browser
from bok_choy.promise import EmptyPromise
from ..helpers import (
@@ -158,6 +159,7 @@ class LoginFromCombinedPageTest(UniqueCourseTest):
self.login_page.wait_for_errors()
)
@skip_if_browser('chrome') # TODO Need to fix this for chrome browser.
def test_third_party_login(self):
"""
Test that we can login using third party credentials, and that the
@@ -195,6 +197,7 @@ class LoginFromCombinedPageTest(UniqueCourseTest):
self._unlink_dummy_account()
@skip_if_browser('chrome') # TODO Need to fix this for chrome browser.
def test_hinted_login(self):
""" Test the login page when coming from course URL that specified which third party provider to use """
# Create a user account and link it to third party auth with the dummy provider:
@@ -328,6 +331,7 @@ class RegisterFromCombinedPageTest(UniqueCourseTest):
self.register_page.visit().toggle_form()
self.assertEqual(self.register_page.current_form, "login")
@skip_if_browser('chrome') # TODO Need to fix this for chrome browser.
def test_third_party_register(self):
"""
Test that we can register using third party credentials, and that the

View File

@@ -163,7 +163,7 @@ python-subunit==0.0.16
pyquery==1.2.9
radon==1.2
rednose==0.4.3
selenium==2.42.1
selenium==2.53.1
splinter==0.5.4
testtools==0.9.34
testfixtures==4.5.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -158,6 +158,13 @@ case "$TEST_SUITE" in
;;
"bok-choy")
# Back compatibility support for firefox upgrade:
# Copy newer firefox version to project root,
# set that as the path for bok-choy to use.
cp -R $HOME/firefox/ firefox/
export SELENIUM_FIREFOX_PATH=firefox/firefox
case "$SHARD" in
"all")