From 0e4e25d3c1d14c7e70748bc090781f70d6df8436 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 20 May 2021 11:20:50 +0200 Subject: [PATCH] MOBILE-3751 behat: Add heading page selector --- tests/behat/app_behat_runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/app_behat_runtime.js b/tests/behat/app_behat_runtime.js index a3e542f80..7da3164a0 100644 --- a/tests/behat/app_behat_runtime.js +++ b/tests/behat/app_behat_runtime.js @@ -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) ||