Skip to content

Commit f326573

Browse files
author
Ji Lu
committed
MAGETWO-52332: Moved cache tests to PageCache module and other code refactoring.
1 parent 7b5bd77 commit f326573

File tree

1 file changed

+1
-5
lines changed
  • dev/tests/functional/tests/app/Magento/PageCache/Test/Block/Cache

1 file changed

+1
-5
lines changed

dev/tests/functional/tests/app/Magento/PageCache/Test/Block/Cache/Additional.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ public function clickFlushCache($flushButtonName)
4040
*/
4141
public function isFlushCacheButtonVisible($flushButtonName)
4242
{
43-
try {
44-
return $this->_rootElement->find(sprintf($this->flushButton, $flushButtonName), Locator::SELECTOR_XPATH)
43+
return $this->_rootElement->find(sprintf($this->flushButton, $flushButtonName), Locator::SELECTOR_XPATH)
4544
->isVisible();
46-
} catch (\PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
47-
return false;
48-
}
4945
}
5046
}

0 commit comments

Comments
 (0)