Smart accordion walkthrough working for cms-master branch

Conflicts:
	lms/envs/cms/acceptance.py
This commit is contained in:
Jay Zoldak
2012-11-28 09:17:57 -05:00
parent 668bc81d7f
commit 0a77dd4431
2 changed files with 31 additions and 8 deletions

View File

@@ -8,12 +8,12 @@ Feature: There are courses on the homepage
And I log in
Then I verify all the content of each course
Scenario: Navigate through course edX/edx101/edX_Studio_Reference
Given I am registered for course "edX/edx101/edX_Studio_Reference"
And I log in
Then I verify all the content of each course
# Scenario: Navigate through course edX/edx101/edX_Studio_Reference
# Given I am registered for course "edX/edx101/edX_Studio_Reference"
# And I log in
# Then I verify all the content of each course
Scenario: Navigate through course BerkeleyX/CS169.1x/2012_Fall
Given I am registered for course "BerkeleyX/CS169.1x/2012_Fall"
And I log in
Then I verify all the content of each course
# Scenario: Navigate through course BerkeleyX/CS169.1x/2012_Fall
# Given I am registered for course "BerkeleyX/CS169.1x/2012_Fall"
# And I log in
# Then I verify all the content of each course

View File

@@ -0,0 +1,23 @@
"""
This config file is a copy of dev environment without the Debug
Toolbar. I it suitable to run against acceptance tests.
"""
from .dev import *
# REMOVE DEBUG TOOLBAR
INSTALLED_APPS = tuple(e for e in INSTALLED_APPS if e != 'debug_toolbar')
INSTALLED_APPS = tuple(e for e in INSTALLED_APPS if e != 'debug_toolbar_mongo')
MIDDLEWARE_CLASSES = tuple(e for e in MIDDLEWARE_CLASSES \
if e != 'debug_toolbar.middleware.DebugToolbarMiddleware')
########################### LETTUCE TESTING ##########################
MITX_FEATURES['DISPLAY_TOY_COURSES'] = True
INSTALLED_APPS += ('lettuce.django',)
# INSTALLED_APPS += ('portal',)
LETTUCE_APPS = ('portal',) # dummy app covers the home page, login, registration, and course enrollment