29 lines
699 B
Python
29 lines
699 B
Python
# disable missing docstring
|
|
#pylint: disable=C0111
|
|
|
|
from lettuce import world, step
|
|
|
|
|
|
@step('I have created a Blank HTML Page$')
|
|
def i_created_blank_html_page(step):
|
|
world.create_component_instance(
|
|
step, '.large-html-icon', 'html',
|
|
'.xmodule_HtmlModule'
|
|
)
|
|
|
|
|
|
@step('I see only the HTML display name setting$')
|
|
def i_see_only_the_html_display_name(step):
|
|
world.verify_all_setting_entries([['Display Name', "Text", False]])
|
|
|
|
|
|
@step('I have created an E-text Written in LaTeX$')
|
|
def i_created_blank_html_page(step):
|
|
world.create_component_instance(
|
|
step,
|
|
'.large-html-icon',
|
|
'html',
|
|
'.xmodule_HtmlModule',
|
|
'latex_html.yaml'
|
|
)
|