@markers.webview
@markers.smoke
@markers.requires_complete_dataset
@markers.test_case('C195056')
@markers.nondestructive
@markers.parametrize('page_id', ['QlYg2VHd'])
@markers.parametrize('width,height', [(1024, 768), (630, 480)])
def test_button_open_with_certain_window_size(webview_base_url, selenium, page_id, width, height):
    content = ContentPage(selenium, webview_base_url, id=page_id).open()
    if (width >= 640):
        assert content.books_containing.overview_is_displayed
    else:
        assert (not content.books_containing.overview_is_displayed)
@markers.webview
@markers.smoke
@markers.requires_complete_dataset
@markers.test_case('C195056')
@markers.nondestructive
@markers.parametrize('page_id', ['QlYg2VHd'])
@markers.parametrize('width,height', [(1024, 768), (630, 480)])
def test_button_open_with_certain_window_size(webview_base_url, selenium, page_id, width, height):
    content = ContentPage(selenium, webview_base_url, id=page_id).open()
    if (width >= 640):
        assert content.books_containing.overview_is_displayed
    else:
        assert (not content.books_containing.overview_is_displayed)