Merge pull request #38 from NoelDeMartin/MOBILE-3833

MOBILE-3833 behat: use ngZone
main
Dani Palou 2021-10-05 07:59:01 +02:00 committed by GitHub
commit ccb3d6cdbc
1 changed files with 2 additions and 2 deletions

View File

@ -849,7 +849,7 @@ class behat_app extends behat_base {
);
// Trigger Angular change detection
$session->executeScript($this->islegacy ? 'appRef.tick();' : 'changeDetector.detectChanges();');
$session->executeScript($this->islegacy ? 'appRef.tick();' : 'ngZone.run(() => {});');
}
/**
@ -862,7 +862,7 @@ class behat_app extends behat_base {
$this->spin(
function() use ($session) {
$session->executeScript($this->islegacy ? 'appRef.tick();' : 'changeDetector.detectChanges();');
$session->executeScript($this->islegacy ? 'appRef.tick();' : 'ngZone.run(() => {});');
$nodes = $this->find_all('css', 'core-loading ion-spinner');