From fb20b00dd9bae0a7720f25b216a5c7aebb0fa03c Mon Sep 17 00:00:00 2001 From: Gulamdastgir Date: Mon, 3 Feb 2025 14:15:58 +0530 Subject: [PATCH] Restore separator color fixture. --- .../fixtures/blocks/core__separator-color.json | 12 ++++++++++++ .../blocks/core__separator-custom-color.json | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 test/integration/fixtures/blocks/core__separator-color.json create mode 100644 test/integration/fixtures/blocks/core__separator-custom-color.json diff --git a/test/integration/fixtures/blocks/core__separator-color.json b/test/integration/fixtures/blocks/core__separator-color.json new file mode 100644 index 00000000000000..d53b7287428038 --- /dev/null +++ b/test/integration/fixtures/blocks/core__separator-color.json @@ -0,0 +1,12 @@ +[ + { + "name": "core/separator", + "isValid": true, + "attributes": { + "opacity": "alpha-channel", + "tagName": "hr", + "backgroundColor": "accent" + }, + "innerBlocks": [] + } +] diff --git a/test/integration/fixtures/blocks/core__separator-custom-color.json b/test/integration/fixtures/blocks/core__separator-custom-color.json new file mode 100644 index 00000000000000..444cf3cf9b19b4 --- /dev/null +++ b/test/integration/fixtures/blocks/core__separator-custom-color.json @@ -0,0 +1,16 @@ +[ + { + "name": "core/separator", + "isValid": true, + "attributes": { + "opacity": "alpha-channel", + "tagName": "hr", + "style": { + "color": { + "background": "#5da54c" + } + } + }, + "innerBlocks": [] + } +]