diff --git a/common/djangoapps/terrain/browser.py b/common/djangoapps/terrain/browser.py index ca91298ec4..e8d5b1f2e7 100644 --- a/common/djangoapps/terrain/browser.py +++ b/common/djangoapps/terrain/browser.py @@ -151,7 +151,7 @@ def reset_data(scenario): envs/acceptance.py file: mitx_all/db/test_mitx.db """ LOGGER.debug("Flushing the test database...") - call_command('flush', interactive=False) + call_command('flush', interactive=False, verbosity=0) world.absorb({}, 'scenario_dict') diff --git a/common/djangoapps/terrain/steps.py b/common/djangoapps/terrain/steps.py index 3a33028699..4191d1cb99 100644 --- a/common/djangoapps/terrain/steps.py +++ b/common/djangoapps/terrain/steps.py @@ -153,8 +153,8 @@ def i_am_logged_in(step): world.create_user('robot', 'test') world.log_in(username='robot', password='test') world.browser.visit(django_url('/')) - # You should not see the login link - assert world.is_css_not_present('a#login') + dash_css = 'section.container.dashboard' + assert world.is_css_present(dash_css) @step(u'I am an edX user$') diff --git a/rakelib/tests.rake b/rakelib/tests.rake index 2815fdfb57..10d39b942f 100644 --- a/rakelib/tests.rake +++ b/rakelib/tests.rake @@ -61,7 +61,7 @@ def setup_acceptance_db(system, fasttest=false) end def run_acceptance_tests(system, report_dir, harvest_args) - test_sh(django_admin(system, 'acceptance', 'harvest', '--debug-mode', '--tag -skip', harvest_args)) + test_sh(django_admin(system, 'acceptance', 'harvest', '--debug-mode', '--verbosity 2', '--tag -skip', harvest_args)) end # Run documentation tests @@ -187,7 +187,7 @@ task :coverage => :report_dirs do end end - + # Find all coverage XML files (both Python and JavaScript) xml_reports = FileList[File.join(REPORT_DIR, '**/coverage.xml')]