def METHOD_NAME(self):
    capsule = self.altdriver.find_object(By.NAME, "Capsule")
    self.altdriver.tap(capsule.get_screen_position())
    action_info = self.altdriver.wait_for_object(
        By.PATH, "//ActionText[@text=Capsule was tapped!]", timeout=1)
    assert action_info.get_text() == "Capsule was tapped!"