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
f951e3b5
Commit
f951e3b5
authored
Oct 19, 2015
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fixup] fix the learner profile page object
parent
f68528d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
common/test/acceptance/pages/lms/learner_profile.py
+1
-5
No files found.
common/test/acceptance/pages/lms/learner_profile.py
View file @
f951e3b5
...
@@ -3,7 +3,6 @@ Bok-Choy PageObject class for learner profile page.
...
@@ -3,7 +3,6 @@ Bok-Choy PageObject class for learner profile page.
"""
"""
from
bok_choy.page_object
import
PageObject
from
bok_choy.page_object
import
PageObject
from
bok_choy.promise
import
EmptyPromise
from
bok_choy.promise
import
EmptyPromise
from
bok_choy.javascript
import
wait_for_js
,
requirejs
from
selenium.webdriver
import
ActionChains
from
selenium.webdriver
import
ActionChains
from
.
import
BASE_URL
from
.
import
BASE_URL
...
@@ -17,7 +16,6 @@ FIELD_ICONS = {
...
@@ -17,7 +16,6 @@ FIELD_ICONS = {
}
}
@requirejs
(
'js/student_profile/views/learner_profile_factory'
)
class
LearnerProfilePage
(
FieldsMixin
,
PageObject
):
class
LearnerProfilePage
(
FieldsMixin
,
PageObject
):
"""
"""
PageObject methods for Learning Profile Page.
PageObject methods for Learning Profile Page.
...
@@ -41,15 +39,13 @@ class LearnerProfilePage(FieldsMixin, PageObject):
...
@@ -41,15 +39,13 @@ class LearnerProfilePage(FieldsMixin, PageObject):
"""
"""
return
BASE_URL
+
"/u/"
+
self
.
username
return
BASE_URL
+
"/u/"
+
self
.
username
@wait_for_js
def
is_browser_on_page
(
self
):
def
is_browser_on_page
(
self
):
"""
"""
Check if browser is showing correct page.
Check if browser is showing correct page.
"""
"""
return
all
([
return
all
([
self
.
q
(
css
=
'body.view-profile'
)
.
present
,
self
.
q
(
css
=
'body.view-profile'
)
.
present
,
self
.
q
(
css
=
'page-header'
)
.
present
,
not
self
.
q
(
css
=
'ui-loading-indicator'
)
.
visible
not
self
.
q
(
css
=
'ui-loading-indicator'
)
.
visible
,
])
])
@property
@property
...
...
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