From bfa1168ba9437731e4f5ceb81554a6973793c9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gomes?= Date: Mon, 2 Sep 2024 16:57:22 +0100 Subject: [PATCH] Fix inconsistencies in some fixtures after markup changes --- .../core__media-text__image-fill-no-focal-point-selected.html | 2 +- .../core__media-text__image-fill-no-focal-point-selected.json | 3 +-- ...media-text__image-fill-no-focal-point-selected.parsed.json | 4 ++-- ...a-text__image-fill-no-focal-point-selected.serialized.html | 4 ++-- ...ore__media-text__image-fill-with-focal-point-selected.html | 2 +- ...ore__media-text__image-fill-with-focal-point-selected.json | 3 +-- ...dia-text__image-fill-with-focal-point-selected.parsed.json | 4 ++-- ...text__image-fill-with-focal-point-selected.serialized.html | 4 ++-- 8 files changed, 12 insertions(+), 14 deletions(-) diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.html b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.html index 6a1569b4051725..16ab6c33f6626e 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.html +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.html @@ -1,5 +1,5 @@ -
+
My alt text
diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json index c7642287c13a88..681f7c2b44e4e7 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json @@ -11,8 +11,7 @@ "mediaWidth": 50, "isStackedOnMobile": true, "imageFill": true, - "useFeaturedImage": false, - "className": "alignwide" + "useFeaturedImage": false }, "innerBlocks": [ { diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json index 4457542a3deedc..0c178bc87ac5a1 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json @@ -19,9 +19,9 @@ ] } ], - "innerHTML": "\n
\n\t
\n\t\t
\n\t
\n\t\t\n\t
\n
\n", + "innerHTML": "\n
\n\t
\n\t\t
\n\t
\n\t\t\n\t
\n
\n", "innerContent": [ - "\n
\n\t
\n\t\t
\n\t
\n\t\t", + "\n
\n\t
\n\t\t
\n\t
\n\t\t", null, "\n\t
\n
\n" ] diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.serialized.html b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.serialized.html index 4498c6672719b3..04873b7ba4a4b5 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.serialized.html +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.serialized.html @@ -1,5 +1,5 @@ - -
My alt text
+ +
My alt text

My Content

diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.html b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.html index 5b2de92571aca9..ce9d4f6b287b0b 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.html +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.html @@ -1,5 +1,5 @@ -
+
My alt text
diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json index c072f191127f3e..cc4f0a3b7ee993 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json @@ -15,8 +15,7 @@ "x": 0.84, "y": 0.84 }, - "useFeaturedImage": false, - "className": "alignwide" + "useFeaturedImage": false }, "innerBlocks": [ { diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json index bf8f0062eb8b53..892ccabfa1a2e3 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json @@ -23,9 +23,9 @@ ] } ], - "innerHTML": "\n
\n\t
\n\t\t
\n\t
\n\t\t\n\t
\n
\n", + "innerHTML": "\n
\n\t
\n\t\t
\n\t
\n\t\t\n\t
\n
\n", "innerContent": [ - "\n
\n\t
\n\t\t
\n\t
\n\t\t", + "\n
\n\t
\n\t\t
\n\t
\n\t\t", null, "\n\t
\n
\n" ] diff --git a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.serialized.html b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.serialized.html index a0e730cb4b1184..c1a7c672388586 100644 --- a/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.serialized.html +++ b/test/integration/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.serialized.html @@ -1,5 +1,5 @@ - -
My alt text
+ +
My alt text

My Content