Skip to content

Commit 6bda0b3

Browse files
eriksapeNaktibalda
authored andcommitted
Improved error text of WaitForJS method
1 parent 559340e commit 6bda0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ public function waitForJS($script, $timeout = 5)
25622562
return $wd->executeScript($script);
25632563
};
25642564
$message = sprintf(
2565-
'Waited for %d secs but script %s still not executed',
2565+
'Waited for %d secs but script %s still doesn\'t evaluate to true',
25662566
$timeout,
25672567
Locator::humanReadableString($script)
25682568
);

0 commit comments

Comments
 (0)