Merge pull request #19 from NoelDeMartin/MOBILE-3751
MOBILE-3751 behat: Add core-title header selectormain
commit
b742b822dd
|
@ -585,7 +585,7 @@
|
||||||
|
|
||||||
var result = null;
|
var result = null;
|
||||||
var resultCount = 0;
|
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) {
|
titles.forEach(function(title) {
|
||||||
if (
|
if (
|
||||||
(window.BehatMoodleAppLegacy && title.offsetParent) ||
|
(window.BehatMoodleAppLegacy && title.offsetParent) ||
|
||||||
|
|
Loading…
Reference in New Issue