@markers.webview
@markers.smoke
@markers.test_case('C176257')
@markers.nondestructive
def test_share_on_top_right_corner(webview_base_url, selenium):
    home = Home(selenium, webview_base_url).open()
    book = home.featured_books.openstax_list[59]
    content = book.click_book_cover()
    share = content.share
    assert share.is_displayed
    assert share.is_facebook_share_link_displayed
    assert share.is_twitter_share_link_displayed
    root = content.share.root
    assert ((root.location['y'] + root.size['height']) < (selenium.get_window_size()['height'] / 2))
    assert (root.location['x'] > (selenium.get_window_size()['width'] / 2))
@markers.webview
@markers.smoke
@markers.test_case('C176257')
@markers.nondestructive
def test_share_on_top_right_corner(webview_base_url, selenium):
    home = Home(selenium, webview_base_url).open()
    book = home.featured_books.openstax_list[59]
    content = book.click_book_cover()
    share = content.share
    assert share.is_displayed
    assert share.is_facebook_share_link_displayed
    assert share.is_twitter_share_link_displayed
    root = content.share.root
    assert ((root.location['y'] + root.size['height']) < (selenium.get_window_size()['height'] / 2))
    assert (root.location['x'] > (selenium.get_window_size()['width'] / 2))