Commit f7ec039b by Ben Patterson

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

Bok-choy tests: use firefox 42.0, selenium 2.53.1
parents 7791e7fc a6a65217
......@@ -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
......
......@@ -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
......
screenshots/baseline/hinted-login.png

14.3 KB | W: | H:

screenshots/baseline/hinted-login.png

14.2 KB | W: | H:

screenshots/baseline/hinted-login.png
screenshots/baseline/hinted-login.png
screenshots/baseline/hinted-login.png
screenshots/baseline/hinted-login.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment