MDL-71610 core_behat: update edit mode steps

This commit is contained in:
Bas Brands
2021-09-29 09:25:36 +02:00
parent 6ece030948
commit 3ff1b83239
5 changed files with 193 additions and 56 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ trait behat_session_trait {
}
// How much we will be waiting for the element to appear.
if (!$timeout) {
if ($timeout === false) {
$timeout = self::get_timeout();
$microsleep = false;
} else {
@@ -339,7 +339,7 @@ trait behat_session_trait {
protected function spin($lambda, $args = false, $timeout = false, $exception = false, $microsleep = false) {
// Using default timeout which is pretty high.
if (!$timeout) {
if ($timeout === false) {
$timeout = self::get_timeout();
}