We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5bd77 commit f326573Copy full SHA for f326573
dev/tests/functional/tests/app/Magento/PageCache/Test/Block/Cache/Additional.php
@@ -40,11 +40,7 @@ public function clickFlushCache($flushButtonName)
40
*/
41
public function isFlushCacheButtonVisible($flushButtonName)
42
{
43
- try {
44
- return $this->_rootElement->find(sprintf($this->flushButton, $flushButtonName), Locator::SELECTOR_XPATH)
+ return $this->_rootElement->find(sprintf($this->flushButton, $flushButtonName), Locator::SELECTOR_XPATH)
45
->isVisible();
46
- } catch (\PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
47
- return false;
48
- }
49
}
50
0 commit comments