diff --git a/acceptance/WcmsTestsBlockLinksCest.php b/acceptance/WcmsTestsBlockLinksCest.php
index 8cabe933bc91efd660f03270a99ccc4abb04cdf1..4ca84f1ea169b34ea038900b3ffadcd617bb278e 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.