from PageObject.HomePage import HomePage


def test_search(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('automated testing info')
    assert 'automated' in result.first_link()


def test_search2(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('Google')
    assert 'Google' in result.first_link()

b17f6e4d91797a106de9cd09240582a79de7cee6
<mask token>

<mask token>


def test_search(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('automated testing info')
    assert 'automated' in result.first_link()


<mask token>

<mask token>


def test_search(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('automated testing info')
    assert 'automated' in result.first_link()


def test_search2(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('Google')
    assert 'Google' in result.first_link()

from PageObject.HomePage import HomePage


def test_search(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('automated testing info')
    assert 'automated' in result.first_link()


def test_search2(driver):
    HomePage(driver).open_browser()
    result = HomePage(driver).search('Google')
    assert 'Google' in result.first_link()
