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.
2 parents 9aab9c8 + 79781c8 commit 6dd769bCopy full SHA for 6dd769b
lib/Magento/Extractors/Checkout/CartSummary.php
@@ -6,6 +6,7 @@
6
use Magium\Extractors\AbstractExtractor;
7
use Magium\Magento\Actions\Checkout\Steps\StepInterface;
8
use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration;
9
+use Magium\WebDriver\ExpectedCondition;
10
use Magium\WebDriver\WebDriver;
11
12
class CartSummary extends AbstractExtractor implements StepInterface
@@ -70,6 +71,7 @@ public function extract()
70
71
$count = 1;
72
73
$testProductXpath = $this->theme->getCartSummaryCheckoutProductLoopNameXpath($count);
74
+ $this->webDriver->wait()->until(ExpectedCondition::elementExists($testProductXpath, WebDriver::BY_XPATH));
75
76
while ($this->webDriver->elementExists($testProductXpath, WebDriver::BY_XPATH)) {
77
0 commit comments