Skip to content

Commit

Permalink
Wait for the element to appear. Resolves #34186
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Jan 23, 2019
1 parent debdc5f commit 8e3a3e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public function setSharingPermissions(
$xpathLocator = \sprintf(
$this->permissionsFieldByUserName, $shareReceiverName
);
$permissionsField = $this->find("xpath", $xpathLocator);
$permissionsField = $this->waitTillElementIsNotNull($xpathLocator);
$this->assertElementNotNull(
$permissionsField,
__METHOD__
Expand Down

0 comments on commit 8e3a3e5

Please sign in to comment.