@markers.webview
@markers.requires_complete_dataset
@markers.test_case('C195057', 'C195058', 'C195059', 'C195072')
@markers.nondestructive
@markers.parametrize('page_id', ['mjO9LQWq@1', 'bJs8AcSE@1', '4fGVMb7P@1'])
def test_books_containing_message_is_correct(webview_base_url, selenium, page_id):
    content = ContentPage(selenium, webview_base_url, id=page_id).open()
    book_count = len(content.books_containing.book_list)
    overview = content.books_containing.overview
    if (book_count > 1):
        assert (overview == f'This page is in {book_count} books:')
    elif (book_count > 0):
        assert (overview == 'This page is in this book:')
    else:
        assert (overview == 'This page is not in any books.')
@markers.webview
@markers.requires_complete_dataset
@markers.test_case('C195057', 'C195058', 'C195059', 'C195072')
@markers.nondestructive
@markers.parametrize('page_id', ['mjO9LQWq@1', 'bJs8AcSE@1', '4fGVMb7P@1'])
def test_books_containing_message_is_correct(webview_base_url, selenium, page_id):
    content = ContentPage(selenium, webview_base_url, id=page_id).open()
    book_count = len(content.books_containing.book_list)
    overview = content.books_containing.overview
    if (book_count > 1):
        assert (overview == f'This page is in {book_count} books:')
    elif (book_count > 0):
        assert (overview == 'This page is in this book:')
    else:
        assert (overview == 'This page is not in any books.')