Skip to content

Commit 06e8605

Browse files
committed
MQE-1181: Fatal error while test running
- Updated null check
1 parent f8b594e commit 06e8605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Extension/PageReadinessExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function () use ($metrics) {
187187
private function checkForNewPage($step)
188188
{
189189
try {
190-
if (isset($this->getDriver())) {
190+
if (!empty($this->getDriver())) {
191191
$currentUri = $this->getDriver()->_getCurrentUri();
192192
} else {
193193
throw new \Exception();

0 commit comments

Comments
 (0)