From a7bfd8d8786337add9dfe9cfde9486792c201277 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Wed, 31 Aug 2022 14:54:43 +0200 Subject: [PATCH] Updated tests for new iframe title --- apps/comments-ui/src/App.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/comments-ui/src/App.test.js b/apps/comments-ui/src/App.test.js index 4896824cd8..84e387df2b 100644 --- a/apps/comments-ui/src/App.test.js +++ b/apps/comments-ui/src/App.test.js @@ -73,7 +73,7 @@ function renderApp({member = null, documentStyles = {}, props = {}} = {}) { // In tests, we currently don't wait for the styles to have loaded. In the app we check if the styles url is set or not. const stylesUrl = ''; const {container} = render(
); - const iframeElement = container.querySelector('iframe[title="comments-box"]'); + const iframeElement = container.querySelector('iframe[title="comments-frame"]'); expect(iframeElement).toBeInTheDocument(); const iframeDocument = iframeElement.contentDocument;