From 2a7e411938b409411ced3c517adc4180269357bb Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Mon, 1 Nov 2021 13:02:46 -0400 Subject: [PATCH] Convert findElement to safeFindElement --- modules/create_timepoint/test/create_timepointTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/create_timepoint/test/create_timepointTest.php b/modules/create_timepoint/test/create_timepointTest.php index 96072a08e61..fa04efec209 100644 --- a/modules/create_timepoint/test/create_timepointTest.php +++ b/modules/create_timepoint/test/create_timepointTest.php @@ -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);