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
7e5a67ba
Commit
7e5a67ba
authored
Dec 14, 2012
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new partner universities and remove cs50 from smart accordion testing
parent
7f6d55ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
lms/djangoapps/courseware/features/smart-accordion.feature
+1
-7
lms/djangoapps/portal/features/homepage.feature
+7
-5
lms/djangoapps/portal/features/homepage.py
+4
-1
No files found.
lms/djangoapps/courseware/features/smart-accordion.feature
View file @
7e5a67ba
...
...
@@ -2,7 +2,7 @@
# MITx/3.091x/2012_Fall
# MITx/6.002x/2012_Fall
# MITx/6.00x/2012_Fall
# HarvardX/CS50x/2012
# HarvardX/CS50x/2012
(we will not be testing this, as it is anomolistic)
# HarvardX/PH207x/2012_Fall
# BerkeleyX/CS169.1x/2012_Fall
# BerkeleyX/CS169.2x/2012_Fall
...
...
@@ -13,7 +13,6 @@
# git clone https://github.com/MITx/6.00x.git
# git clone https://github.com/MITx/content-mit-6002x.git
# git clone https://github.com/MITx/content-mit-6002x.git
# git clone https://github.com/MITx/cs50.git
# git clone https://github.com/MITx/content-harvard-id270x.git
# git clone https://github.com/MITx/content-berkeley-cs169x.git
# git clone https://github.com/MITx/content-berkeley-cs169.2x.git
...
...
@@ -39,11 +38,6 @@ Feature: There are courses on the homepage
And
I log in
Then
I verify all the content of each course
Scenario
:
Navigate through course HarvardX/CS50x/2012
Given
I am registered for course
"HarvardX/CS50x/2012"
And
I log in
Then
I verify all the content of each course
Scenario
:
Navigate through course HarvardX/PH207x/2012_Fall
Given
I am registered for course
"HarvardX/PH207x/2012_Fall"
And
I log in
...
...
lms/djangoapps/portal/features/homepage.feature
View file @
7e5a67ba
...
...
@@ -35,11 +35,13 @@ Feature: Homepage for web users
Then
I should see
"<Partner>"
in the Partners section
Examples
:
|
Partner
|
|
MITx
|
|
HarvardX
|
|
BerkeleyX
|
|
UTx
|
|
Partner
|
|
MITx
|
|
HarvardX
|
|
BerkeleyX
|
|
UTx
|
|
WellesleyX
|
|
GeorgetownX
|
# # TODO: Add scenario that tests the courses available
# # using a policy or a configuration file
lms/djangoapps/portal/features/homepage.py
View file @
7e5a67ba
from
lettuce
import
world
,
step
from
nose.tools
import
assert_in
@step
(
'I should see "([^"]*)" in the Partners section$'
)
def
i_should_see_partner
(
step
,
partner
):
assert
(
partner
in
world
.
browser
.
find_by_css
(
".partners"
)
.
text
)
partners
=
world
.
browser
.
find_by_css
(
".partner .name span"
)
names
=
set
(
span
.
text
for
span
in
partners
)
assert_in
(
partner
,
names
)
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