Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/cms/djangoapps/contentstore/features/common.py   MHST2013-14(Download)
    def button_clicked():
        confirmation_dismissed = world.is_css_not_present('.is-shown.wrapper-notification-warning')
        error_showing = world.is_css_present('.is-shown.wrapper-notification-error')
        return confirmation_dismissed or error_showing
 
        assert world.css_has_class('.video', 'closed')
    else:
        assert world.is_css_not_present('.video.closed')
 
 

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/cms/djangoapps/contentstore/features/section.py   MHST2013-14(Download)
def section_does_not_exist(_step):
    css = 'h3[data-name="My Section"]'
    assert world.is_css_not_present(css)
 
 

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/lms/djangoapps/courseware/features/problems.py   MHST2013-14(Download)
def action_button_present(_step, buttonname, doesnt_appear):
    button_css = 'section.action input[value*="%s"]' % buttonname
    if doesnt_appear:
        assert world.is_css_not_present(button_css)
    else:

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/lms/djangoapps/courseware/features/registration.py   MHST2013-14(Download)
def i_should_see_that_course_in_my_dashboard(_step, doesnt_appear, course):
    course_link_css = 'section.my-courses a[href*="%s"]' % course
    if doesnt_appear:
        assert world.is_css_not_present(course_link_css)
    else:

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/cms/djangoapps/contentstore/features/course-team.py   MHST2013-14(Download)
def cannot_delete(_step):
    to_delete_css = 'a.remove-user'
    assert world.is_css_not_present(to_delete_css)
 
 
@step(u's?he cannot add users')
def cannot_add(_step):
    add_css = 'a.new-user'
    assert world.is_css_not_present(add_css)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/cms/djangoapps/contentstore/features/component.py   MHST2013-14(Download)
def see_no_components(steps):
    assert world.is_css_not_present('li.component')
 
 
def step_selector_list(data_type, path, index=1):