-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,11 @@ public function iWaitUntilElementIsVisible($selector) | |
{ | ||
$elements = $this->getSession()->getPage()->findAll('css', $selector); | ||
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.3)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.2)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (7.4)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (7.4)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.1)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.4)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.3)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.2)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.0)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.0)
Check failure on line 23 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.4)
|
||
if (count($elements) !== 1) { | ||
throw new \Exception('Expected to find exactly one element by selector ' . $selector . ' but found ' . count($elements) . ' elements'); | ||
throw new \Exception( | ||
'Expected to find exactly one element by selector ' . | ||
$selector . | ||
' but found ' . count($elements) . ' elements' | ||
); | ||
} | ||
/** @var \Behat\Mink\Element\NodeElement $element */ | ||
$element = reset($elements); | ||
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.3)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.2)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (7.4)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (7.4)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.1)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.4)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.3)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.2)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.0)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.0)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.4)
Check failure on line 32 in src/CommonFeatureContext.php GitHub Actions / Run tests (8.1)
|
||
|