From e35644ce7fbede8c7603b504ba8a3a178fa1eca0 Mon Sep 17 00:00:00 2001
From: Lily Yan <l26yan@uwaterloo.ca>
Date: Thu, 19 Dec 2024 14:40:11 -0500
Subject: [PATCH] ISTWCMS-7189 Add switchToIFrame to make testBlockLinks work
 in WcmsTestsBlockLinksCest

---
 acceptance/WcmsTestsBlockLinksCest.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/acceptance/WcmsTestsBlockLinksCest.php b/acceptance/WcmsTestsBlockLinksCest.php
index 8cabe93..4ca84f1 100644
--- a/acceptance/WcmsTestsBlockLinksCest.php
+++ b/acceptance/WcmsTestsBlockLinksCest.php
@@ -51,6 +51,8 @@ class WcmsTestsBlockLinksCest {
       // Click on block.
       $i->click($block);
       $i->waitForText('Configure block');
+      // Switch the block form iframe.
+      $i->switchToIFrame('iframe[class="lbim-dialog-iframe"]');
       $i->see('Heading level');
 
       // The list of headers that are available.
-- 
GitLab