We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35b64d9 commit a353b45Copy full SHA for a353b45
tests/behat/behat_app.php
@@ -793,11 +793,8 @@ function() use ($session, $operationid) {
793
new ExpectationException('Forced cron tasks in the app took too long to complete', $session)
794
);
795
796
- // Trigger Angular change detection multiple times in case some changes have
797
- // side-effects that result in further pending operations.
798
- for ($ticks = 5; $ticks > 0; $ticks--) {
799
- $session->executeScript($this->islegacy ? 'appRef.tick();' : 'changeDetector.detectChanges();');
800
- }
+ // Trigger Angular change detection
+ $session->executeScript($this->islegacy ? 'appRef.tick();' : 'changeDetector.detectChanges();');
801
}
802
803
/**
0 commit comments