Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2857e662
Commit
2857e662
authored
Apr 26, 2016
by
Muddasser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed screenshots to incorporate firefox and chrome
parent
d0b8f5d4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
6 deletions
+6
-6
common/test/acceptance/tests/lms/test_lms.py
+6
-6
screenshots/baseline/hinted-login-chrome.png
+0
-0
screenshots/baseline/hinted-login-firefox.png
+0
-0
screenshots/baseline/login-providers-chrome.png
+0
-0
screenshots/baseline/login-providers-firefox.png
+0
-0
screenshots/baseline/register-providers-chrome.png
+0
-0
screenshots/baseline/register-providers-firefox.png
+0
-0
No files found.
common/test/acceptance/tests/lms/test_lms.py
View file @
2857e662
...
...
@@ -159,7 +159,6 @@ 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
...
...
@@ -170,7 +169,8 @@ class LoginFromCombinedPageTest(UniqueCourseTest):
# Navigate to the login page
self
.
login_page
.
visit
()
self
.
assertScreenshot
(
'#login .login-providers'
,
'login-providers'
)
# Baseline screen-shots are different for chrome and firefox.
self
.
assertScreenshot
(
'#login .login-providers'
,
'login-providers-{}'
.
format
(
self
.
browser
.
name
))
# Try to log in using "Dummy" provider
self
.
login_page
.
click_third_party_dummy_provider
()
...
...
@@ -197,7 +197,6 @@ 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:
...
...
@@ -212,7 +211,8 @@ class LoginFromCombinedPageTest(UniqueCourseTest):
# We should now be redirected to the login page
self
.
login_page
.
wait_for_page
()
self
.
assertIn
(
"Would you like to sign in using your Dummy credentials?"
,
self
.
login_page
.
hinted_login_prompt
)
self
.
assertScreenshot
(
'#hinted-login-form'
,
'hinted-login'
)
# Baseline screen-shots are different for chrome and firefox.
self
.
assertScreenshot
(
'#hinted-login-form'
,
'hinted-login-{}'
.
format
(
self
.
browser
.
name
))
self
.
login_page
.
click_third_party_dummy_provider
()
# We should now be redirected to the course page
...
...
@@ -331,7 +331,6 @@ 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
...
...
@@ -339,7 +338,8 @@ class RegisterFromCombinedPageTest(UniqueCourseTest):
"""
# Navigate to the register page
self
.
register_page
.
visit
()
self
.
assertScreenshot
(
'#register .login-providers'
,
'register-providers'
)
# Baseline screen-shots are different for chrome and firefox.
self
.
assertScreenshot
(
'#register .login-providers'
,
'register-providers-{}'
.
format
(
self
.
browser
.
name
))
# Try to authenticate using the "Dummy" provider
self
.
register_page
.
click_third_party_dummy_provider
()
...
...
screenshots/baseline/hinted-login-chrome.png
0 → 100644
View file @
2857e662
14 KB
screenshots/baseline/hinted-login.png
→
screenshots/baseline/hinted-login
-firefox
.png
View file @
2857e662
File moved
screenshots/baseline/login-providers-chrome.png
0 → 100644
View file @
2857e662
5.09 KB
screenshots/baseline/login-providers.png
→
screenshots/baseline/login-providers
-firefox
.png
View file @
2857e662
File moved
screenshots/baseline/register-providers-chrome.png
0 → 100644
View file @
2857e662
5.68 KB
screenshots/baseline/register-providers.png
→
screenshots/baseline/register-providers
-firefox
.png
View file @
2857e662
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment