18 lines
629 B
Python
18 lines
629 B
Python
#pylint: disable=C0111
|
|
#pylint: disable=W0621
|
|
|
|
from lettuce import world, step
|
|
from nose.tools import assert_true, assert_equal, assert_in
|
|
from terrain.steps import reload_the_page
|
|
|
|
|
|
############### ACTIONS ####################
|
|
@step('I have created a Blank Common Problem$')
|
|
def i_created_blank_common_problem(step):
|
|
step.given('I have opened a new course section in Studio')
|
|
step.given('I have added a new subsection')
|
|
step.given('I expand the first section')
|
|
world.css_click('a.new-unit-item')
|
|
world.css_click('.large-problem-icon')
|
|
world.css_click('#i4x://edx/templates/problem/Blank_Common_Problem')
|