Example #1
0
def test_tmall_9(browser):
    tmall_main_page = SearchHelper(browser)
    tmall_main_page.go_to_site()
    tmall_main_page.enter_word("wadasdwadsg4sfdfesf")
    tmall_main_page.find_search_button().click()
    elements = tmall_main_page.find_items_of_search()
    assert len(elements) > 0
Example #2
0
def test_tmall_8(browser):
    tmall_main_page = SearchHelper(browser)
    tmall_main_page.go_to_site()
    tmall_main_page.enter_word("Ботинки")
    tmall_main_page.find_search_button().click()
    elements = tmall_main_page.find_items_of_search()
    assert len(elements) > 0