Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-71194 behat: Fix app tests
  • Loading branch information
NoelDeMartin committed Mar 25, 2021
1 parent 773e7cd commit 2794943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/behat/app_behat_runtime.js
Expand Up @@ -510,7 +510,7 @@
return 'ERROR: ' + error.message;
}

var mainContent = getNavCtrl().getActive()._cntDir;
var mainContent = getNavCtrl().getActive().contentRef().nativeElement;
var rect = found.getBoundingClientRect();

// Scroll the item into view.
Expand Down

0 comments on commit 2794943

Please sign in to comment.