MDL-71194 behat: Fix app tests

main
Noel De Martin 2021-03-25 13:50:27 +01:00
parent e22b65ac8e
commit 7d1fd94c19
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@
return 'ERROR: ' + error.message; return 'ERROR: ' + error.message;
} }
var mainContent = getNavCtrl().getActive()._cntDir; var mainContent = getNavCtrl().getActive().contentRef().nativeElement;
var rect = found.getBoundingClientRect(); var rect = found.getBoundingClientRect();
// Scroll the item into view. // Scroll the item into view.