def METHOD_NAME(self):
    """Test that a user can login and logout."""
    self.login()
    logout_dropdown = self.driver.find_element(By.CLASS_NAME, "dropdown")
    logout_dropdown.click()
    logout_menu_item = self.driver.find_element(By.CLASS_NAME, "selected.item")
    logout_menu_item.click()
    self.assertTrue(self.driver.find_element(By.XPATH, '//button[text()="Login"]'))