MOBILE-3751 behat: Add heading page selector

main
Noel De Martin 2021-05-20 11:20:50 +02:00
parent 720cba7fba
commit 0e4e25d3c1
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@
var result = null;
var resultCount = 0;
var titles = Array.from(document.querySelectorAll('ion-header ion-title'));
var titles = Array.from(document.querySelectorAll('ion-header ion-title, ion-header h1'));
titles.forEach(function(title) {
if (
(window.BehatMoodleAppLegacy && title.offsetParent) ||