Skip to content

Commit 8d8eff7

Browse files
committed
fixup! [Behat] Added retry for switchToFieldGroup
1 parent 9e00eb2 commit 8d8eff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Behat/Page/ContentUpdateItemPage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ private function getFieldtypeIdentifier(VisibleCSSLocator $fieldLocator, string
240240

241241
public function switchToFieldGroup(string $tabName): void
242242
{
243-
for ($attempt = 0; $attempt < 2; ++$attempt) {
243+
for ($attempt = 0; $attempt < 3; ++$attempt) {
244244
try {
245-
$this->getHTMLPage()->setTimeout(3)
245+
$this->getHTMLPage()->setTimeout(5)
246246
->findAll($this->getLocator('navigationTabs'))
247247
->getByCriterion(new ElementTextCriterion($tabName))
248248
->click();

0 commit comments

Comments
 (0)