Skip to content

Commit b882e71

Browse files
author
barbaragr
committed
Merge branch 'origin/4.6'
2 parents abc106c + 35d6845 commit b882e71

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib/Behat/Component/CreateUrlAliasModal.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
use Behat\Mink\Session;
1111
use Ibexa\Behat\Browser\Component\Component;
12-
use Ibexa\Behat\Browser\Element\Condition\ElementTransitionHasEndedCondition;
1312
use Ibexa\Behat\Browser\Locator\VisibleCSSLocator;
1413

1514
final class CreateUrlAliasModal extends Component
@@ -37,9 +36,7 @@ public function createNewUrlAlias(string $path, string $languageName, bool $redi
3736
if ($redirect !== $redirectToggleState->hasClass('ibexa-toggle--is-checked')) {
3837
$this->getHTMLPage()->find($this->getLocator('redirectToggle'))->click();
3938
}
40-
41-
$this->getHTMLPage()->setTimeout(5)->waitUntilCondition(new ElementTransitionHasEndedCondition($this->getHTMLPage(), $this->getLocator('createButton')));
42-
$this->getHTMLPage()->find($this->getLocator('createButton'))->click();
39+
$this->getHTMLPage()->setTimeout(5)->find($this->getLocator('createButton'))->click();
4340
}
4441

4542
protected function specifyLocators(): array

0 commit comments

Comments
 (0)