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 0395357 commit 2f86413Copy full SHA for 2f86413
dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/Totals.php
@@ -205,6 +205,8 @@ protected function escapeCurrency($price)
205
*/
206
public function getDiscount()
207
{
208
+ $this->waitForElementNotVisible($this->blockWaitElement);
209
+ $this->waitForElementVisible($this->discount, Locator::SELECTOR_CSS);
210
$priceElement = $this->_rootElement->find($this->discount, Locator::SELECTOR_CSS);
211
return $priceElement->isVisible() ? $this->escapeCurrency($priceElement->getText()) : null;
212
}
0 commit comments