Commit bd068771 by Jay Zoldak

Merge pull request #1046 from edx/zoldak/quiet-fast-acceptance

Zoldak/quiet fast acceptance
parents 231c71c3 be51ee2c
...@@ -151,7 +151,7 @@ def reset_data(scenario): ...@@ -151,7 +151,7 @@ def reset_data(scenario):
envs/acceptance.py file: mitx_all/db/test_mitx.db envs/acceptance.py file: mitx_all/db/test_mitx.db
""" """
LOGGER.debug("Flushing the test database...") LOGGER.debug("Flushing the test database...")
call_command('flush', interactive=False) call_command('flush', interactive=False, verbosity=0)
world.absorb({}, 'scenario_dict') world.absorb({}, 'scenario_dict')
......
...@@ -153,8 +153,8 @@ def i_am_logged_in(step): ...@@ -153,8 +153,8 @@ def i_am_logged_in(step):
world.create_user('robot', 'test') world.create_user('robot', 'test')
world.log_in(username='robot', password='test') world.log_in(username='robot', password='test')
world.browser.visit(django_url('/')) world.browser.visit(django_url('/'))
# You should not see the login link dash_css = 'section.container.dashboard'
assert world.is_css_not_present('a#login') assert world.is_css_present(dash_css)
@step(u'I am an edX user$') @step(u'I am an edX user$')
......
...@@ -61,7 +61,7 @@ def setup_acceptance_db(system, fasttest=false) ...@@ -61,7 +61,7 @@ def setup_acceptance_db(system, fasttest=false)
end end
def run_acceptance_tests(system, report_dir, harvest_args) 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 end
# Run documentation tests # Run documentation tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment