This commit is contained in:
@@ -22,7 +22,7 @@ return static function (TestContext $test): void {
|
||||
'Wiederholsperre' => 3,
|
||||
'Mindestlaufzeit' => 5,
|
||||
'Mindestsperrzeit' => 0,
|
||||
'MaximaleSperrzeit' => 2,
|
||||
'MaximaleSperrzeit' => 3,
|
||||
'MaximaleSperrzeit24h' => 60,
|
||||
'VorgabeTimeout' => 30,
|
||||
'DiagnosevariablenAnzeigen' => true,
|
||||
@@ -136,13 +136,16 @@ return static function (TestContext $test): void {
|
||||
) use ($waermepumpe, $kontakt1, $kontakt2, $senden): void {
|
||||
$senden(null, 'Peak');
|
||||
$senden(0, 'Peak');
|
||||
$test->waitUntil(static fn (): bool => GetValue($kontakt1) === true);
|
||||
$test->waitUntil(static fn (): bool => GetValue($kontakt1) === true, 2500);
|
||||
$test->assertSame(false, GetValue($kontakt2));
|
||||
$test->assertSame(true, GetValue(
|
||||
$test->objectByIdent('SperreAktiv', $waermepumpe)
|
||||
));
|
||||
|
||||
$test->waitUntil(static fn (): bool => GetValue($kontakt1) === false, 2500);
|
||||
$test->waitUntil(static fn (): bool => GetValue($kontakt1) === false, 3500);
|
||||
$test->waitUntil(static fn (): bool => GetValue(
|
||||
$test->objectByIdent('SperrerholungAktiv', $waermepumpe)
|
||||
) === true);
|
||||
$test->assertSame(true, GetValue(
|
||||
$test->objectByIdent('SperrerholungAktiv', $waermepumpe)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user