'Scenario: Bookmarks list pagination works as expected for valid page number
Given that I am a registered user
And I have bookmarked all the 12 units available
And I visit my bookmarks page
Then I should see a bookmarked list
And I should see total page value is 2
Then I enter 2 in the page number input
And I should be navigated to page 2'

def test_pagination_with_valid_page_number(self):

    self.setup_test(num_chapters=11)
    self.bookmark_units(num_units=11)
    self.bookmarks_page.visit()
    self.assertTrue(self.bookmarks_page.results_present())
    self.assertEqual(self.bookmarks_page.get_total_pages, 2)
    self.bookmarks_page.go_to_page(2)
    self._verify_pagination_info(bookmark_count_on_current_page=1, header_text='Showing    11-11    out    of    11    total', previous_button_enabled=True, next_button_enabled=False, current_page_number=2, total_pages=2)
