Skip to content

Commit

Permalink
Convert findElement to safeFindElement
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Nov 1, 2021
1 parent b9688fe commit 2a7e411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/create_timepoint/test/create_timepointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function testCreateTimepointDoespageLoad()
$this->url . "/create_timepoint/".
"?candID=900000&identifier=900000&subprojectID=1"
);
$bodyText = $this->webDriver->findElement(
$bodyText = $this->safeFindElement(
WebDriverBy::cssSelector("body")
)->getText();
$this->assertStringContainsString("Create Time Point", $bodyText);
Expand Down

0 comments on commit 2a7e411

Please # to comment.