protected function hasDilationTimeErrorDisplayed() { return (bool) $this->find('xpath', $this->getElement('dilationTimeErrorLeft')->getXpath()) && (bool) $this->find('xpath', $this->getElement('dilationTimeErrorRight')->getXpath()); }