def step(context): browser.visit(browser) browser.click_by_class(browser, "lang_en") browser.assert_by_cssselector(browser, "div.login-button", "LOG IN")
def step(context): browser.assert_by_cssselector(browser, "span.text.ng-binding", "active")
def step(context): browser.click_on_link_text(browser, "EMERGENCY CENTER") browser.click_on_partial_link_text(browser, "ACTIVE")
def step(context): browser.type_in_text_css(browser, "input.search-text", "ttest_lastname578") browser.enter_return_key(browser, "input.search-text") sleep(2) browser.click_by_css(browser, "tr.table-tr")
def step(context): browser.click_by_css(browser, "div.options") browser.click_on_link_text(browser, "Unsuspend User") browser.click_by_css(browser, "div.blue-gradient-button")
def step(context): browser.type_in_text_css(browser, "input.search-text", "abcdef") browser.enter_return_key(browser, "input.search-text")
def step(context): browser.assert_view_state(browser, "li[ui-sref='admin.hardware.list']")
def steps(context): browser.assert_by_cssselector(browser, ".leftDiv.ng-binding", "Overview")
def step(context): browser.click_on_link_text(browser, "FLEET VIEW") browser.click_on_link_text(browser, "ADMINISTRATION")
def step(context): browser.assert_by_cssselector(browser, "span.dispatcher-userType.ng-binding", "Administrator")
def step(context): browser.click_by_css(browser, "div.login-button")
def step(context): browser.type_in_text_name(browser, "tbPassword", "password")
def step(context): browser.type_in_text_id(browser, "tbUsername", "smahajan935")
def before_all(context): context.browser = Browser()