def METHOD_NAME(self):
    """
    Test one client going offline in collaborative mode while both
    clients continue to write and add footnotes, and other text
    such that auto merge would be triggered and tracking of offline
    changes would be triggered.
    """
    self.load_document_editor(self.driver, self.doc)
    self.load_document_editor(self.driver2, self.doc)
    self.add_title(self.driver)
    self.driver.find_element(By.CLASS_NAME, "article-body").click()
    # Add some initial text and wait for doc to be synced.
    self.type_text(self.driver, self.TEST_TEXT)
    self.wait_for_doc_sync(self.driver, self.driver2)
    # driver 2 goes offline
    self.driver2.execute_script("window.theApp.page.ws.goOffline()")
    # Online user adds some text
    self.driver.execute_script("window.testCaret.setSelection(25,25)")
    p1 = multiprocessing.Process(
        target=self.type_text, args=(self.driver, self.TEST_TEXT)
    )
    p1.start()
    # Client 2 adds some text at the end.
    self.driver2.execute_script("window.testCaret.setSelection(52,52)")
    self.type_text(self.driver2, self.TEST_TEXT)
    p1.join()
    # Add some footnotes by the offline user at the end of the document
    self.add_footnote(self.driver2, 69, "Test", 1)
    self.add_footnote(self.driver2, 74, "Test", 2)
    # Online user adds some footnote
    self.add_footnote(self.driver, 30, "Test", 1)
    self.add_footnote(self.driver, 37, "Test", 2)
    self.add_footnote(self.driver, 44, "Test", 3)
    # Reset the tracking limits to allow tracking of user edits
    self.driver2.execute_script(
        "window.theApp.page.mod.collab.doc.merge.trackOfflineLimit = 0"
    )
    # driver 2 goes online
    self.driver2.execute_script("window.theApp.page.ws.goOnline()")
    self.wait_for_doc_sync(self.driver, self.driver2)
    self.assertEqual(
        self.get_contents(self.driver2), self.get_contents(self.driver)
    )
    # Check that the footnote counters and editor is aligned.
    footnote_containers = self.driver2.find_elements(
        By.CLASS_NAME, "footnote-marker"
    )
    self.assertEqual(len(footnote_containers), 5)
    footnote_containers = self.driver.find_elements(
        By.CLASS_NAME, "footnote-marker"
    )
    self.assertEqual(len(footnote_containers), 5)