Example #1
0
def confirm_prompt(_step):
    world.confirm_studio_prompt()
Example #2
0
def delete_file(_step, file_name):
    index = get_index(file_name)
    assert index != -1
    delete_css = "a.remove-asset-button"
    world.css_click(delete_css, index=index)
    world.confirm_studio_prompt()
Example #3
0
def delete_file(_step, file_name):
    index = get_index(file_name)
    assert index != -1
    delete_css = "a.remove-asset-button"
    world.css_click(delete_css, index=index)
    world.confirm_studio_prompt()
Example #4
0
def other_delete_self(_step):
    to_delete_css = '.user-item .item-actions a.remove-user[data-id="{email}"]'.format(
        email="*****@*****.**")
    world.css_click(to_delete_css)
    world.confirm_studio_prompt()
Example #5
0
def delete_other_user(_step, name):
    to_delete_css = '.user-item .item-actions a.remove-user[data-id="{email}"]'.format(
        email="{0}{1}".format(name, '@edx.org'))
    world.css_click(to_delete_css)
    world.confirm_studio_prompt()
Example #6
0
def other_delete_self(_step):
    to_delete_css = '.user-item .item-actions a.remove-user[data-id="{email}"]'.format(
        email="*****@*****.**")
    world.css_click(to_delete_css)
    world.confirm_studio_prompt()
Example #7
0
def delete_other_user(_step, name):
    to_delete_css = '.user-item .item-actions a.remove-user[data-id="{email}"]'.format(
        email="{0}{1}".format(name, '@edx.org'))
    world.css_click(to_delete_css)
    world.confirm_studio_prompt()
Example #8
0
def confirm_prompt(_step):
    world.confirm_studio_prompt()