From c583ea29c869ea2a7028c03551b8925f9a9777df Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 18 Feb 2019 10:49:33 +0000 Subject: [PATCH] Refactor: Move block fixtures to e2e-tests package (#13658) --- package.json | 2 +- .../e2e-tests/fixtures/blocks}/README.md | 0 .../core__4-invalid-starting-letter.html | 0 .../core__4-invalid-starting-letter.json | 0 ...ore__4-invalid-starting-letter.parsed.json | 0 ..._4-invalid-starting-letter.serialized.html | 0 .../fixtures/blocks}/core__archives.html | 0 .../fixtures/blocks}/core__archives.json | 0 .../blocks}/core__archives.parsed.json | 0 .../blocks}/core__archives.serialized.html | 0 .../core__archives__showPostCounts.html | 0 .../core__archives__showPostCounts.json | 0 ...core__archives__showPostCounts.parsed.json | 0 ...__archives__showPostCounts.serialized.html | 0 .../fixtures/blocks}/core__audio.html | 0 .../fixtures/blocks}/core__audio.json | 0 .../fixtures/blocks}/core__audio.parsed.json | 0 .../blocks}/core__audio.serialized.html | 0 .../fixtures/blocks}/core__block.html | 0 .../fixtures/blocks}/core__block.json | 0 .../fixtures/blocks}/core__block.parsed.json | 0 .../blocks}/core__block.serialized.html | 0 .../blocks}/core__button__center.html | 0 .../blocks}/core__button__center.json | 0 .../blocks}/core__button__center.parsed.json | 0 .../core__button__center.serialized.html | 0 .../fixtures/blocks}/core__calendar.html | 0 .../fixtures/blocks}/core__calendar.json | 0 .../blocks}/core__calendar.parsed.json | 0 .../blocks}/core__calendar.serialized.html | 0 .../fixtures/blocks}/core__categories.html | 0 .../fixtures/blocks}/core__categories.json | 0 .../blocks}/core__categories.parsed.json | 0 .../blocks}/core__categories.serialized.html | 0 .../fixtures/blocks}/core__code.html | 0 .../fixtures/blocks}/core__code.json | 0 .../fixtures/blocks}/core__code.parsed.json | 0 .../blocks}/core__code.serialized.html | 0 .../fixtures/blocks}/core__column.html | 0 .../fixtures/blocks}/core__column.json | 0 .../fixtures/blocks}/core__column.parsed.json | 0 .../blocks}/core__column.serialized.html | 0 .../fixtures/blocks}/core__columns.html | 0 .../fixtures/blocks}/core__columns.json | 0 .../blocks}/core__columns.parsed.json | 0 .../blocks}/core__columns.serialized.html | 0 .../blocks}/core__columns__deprecated.html | 0 .../blocks}/core__columns__deprecated.json | 0 .../core__columns__deprecated.parsed.json | 0 .../core__columns__deprecated.serialized.html | 0 .../fixtures/blocks}/core__cover.html | 0 .../fixtures/blocks}/core__cover.json | 0 .../fixtures/blocks}/core__cover.parsed.json | 0 .../blocks}/core__cover.serialized.html | 0 .../blocks}/core__cover__video-overlay.html | 0 .../blocks}/core__cover__video-overlay.json | 0 .../core__cover__video-overlay.parsed.json | 0 ...core__cover__video-overlay.serialized.html | 0 .../fixtures/blocks}/core__cover__video.html | 0 .../fixtures/blocks}/core__cover__video.json | 0 .../blocks}/core__cover__video.parsed.json | 0 .../core__cover__video.serialized.html | 0 .../fixtures/blocks}/core__embed.html | 0 .../fixtures/blocks}/core__embed.json | 0 .../fixtures/blocks}/core__embed.parsed.json | 0 .../blocks}/core__embed.serialized.html | 0 .../blocks}/core__file__new-window.html | 0 .../blocks}/core__file__new-window.json | 0 .../core__file__new-window.parsed.json | 0 .../core__file__new-window.serialized.html | 0 .../core__file__no-download-button.html | 0 .../core__file__no-download-button.json | 0 ...core__file__no-download-button.parsed.json | 0 ...__file__no-download-button.serialized.html | 0 .../blocks}/core__file__no-text-link.html | 0 .../blocks}/core__file__no-text-link.json | 0 .../core__file__no-text-link.parsed.json | 0 .../core__file__no-text-link.serialized.html | 0 .../fixtures/blocks}/core__freeform.html | 0 .../fixtures/blocks}/core__freeform.json | 0 .../blocks}/core__freeform.parsed.json | 0 .../blocks}/core__freeform.serialized.html | 0 .../blocks}/core__freeform__undelimited.html | 0 .../blocks}/core__freeform__undelimited.json | 0 .../core__freeform__undelimited.parsed.json | 0 ...ore__freeform__undelimited.serialized.html | 0 .../fixtures/blocks}/core__gallery.html | 0 .../fixtures/blocks}/core__gallery.json | 0 .../blocks}/core__gallery.parsed.json | 0 .../blocks}/core__gallery.serialized.html | 0 .../blocks}/core__gallery__columns.html | 0 .../blocks}/core__gallery__columns.json | 0 .../core__gallery__columns.parsed.json | 0 .../core__gallery__columns.serialized.html | 0 .../blocks}/core__heading__h2-em.html | 0 .../blocks}/core__heading__h2-em.json | 0 .../blocks}/core__heading__h2-em.parsed.json | 0 .../core__heading__h2-em.serialized.html | 0 .../fixtures/blocks}/core__heading__h2.html | 0 .../fixtures/blocks}/core__heading__h2.json | 0 .../blocks}/core__heading__h2.parsed.json | 0 .../blocks}/core__heading__h2.serialized.html | 0 .../fixtures/blocks}/core__html.html | 0 .../fixtures/blocks}/core__html.json | 0 .../fixtures/blocks}/core__html.parsed.json | 0 .../blocks}/core__html.serialized.html | 0 .../fixtures/blocks}/core__image.html | 0 .../fixtures/blocks}/core__image.json | 0 .../fixtures/blocks}/core__image.parsed.json | 0 .../blocks}/core__image.serialized.html | 0 .../blocks}/core__image__attachment-link.html | 0 .../blocks}/core__image__attachment-link.json | 0 .../core__image__attachment-link.parsed.json | 0 ...re__image__attachment-link.serialized.html | 0 .../blocks}/core__image__center-caption.html | 0 .../blocks}/core__image__center-caption.json | 0 .../core__image__center-caption.parsed.json | 0 ...ore__image__center-caption.serialized.html | 0 .../core__image__custom-link-class.html | 0 .../core__image__custom-link-class.json | 0 ...core__image__custom-link-class.parsed.json | 0 ...__image__custom-link-class.serialized.html | 0 .../blocks}/core__image__custom-link-rel.html | 0 .../blocks}/core__image__custom-link-rel.json | 0 .../core__image__custom-link-rel.parsed.json | 0 ...re__image__custom-link-rel.serialized.html | 0 .../blocks}/core__image__custom-link.html | 0 .../blocks}/core__image__custom-link.json | 0 .../core__image__custom-link.parsed.json | 0 .../core__image__custom-link.serialized.html | 0 .../blocks}/core__image__media-link.html | 0 .../blocks}/core__image__media-link.json | 0 .../core__image__media-link.parsed.json | 0 .../core__image__media-link.serialized.html | 0 .../blocks}/core__invalid-Capitals.html | 0 .../blocks}/core__invalid-Capitals.json | 0 .../core__invalid-Capitals.parsed.json | 0 .../core__invalid-Capitals.serialized.html | 0 .../blocks}/core__invalid-special.html | 0 .../blocks}/core__invalid-special.json | 0 .../blocks}/core__invalid-special.parsed.json | 0 .../core__invalid-special.serialized.html | 0 .../blocks}/core__latest-comments.html | 0 .../blocks}/core__latest-comments.json | 0 .../blocks}/core__latest-comments.parsed.json | 0 .../core__latest-comments.serialized.html | 0 .../fixtures/blocks}/core__latest-posts.html | 0 .../fixtures/blocks}/core__latest-posts.json | 0 .../blocks}/core__latest-posts.parsed.json | 0 .../core__latest-posts.serialized.html | 0 .../core__latest-posts__displayPostDate.html | 0 .../core__latest-posts__displayPostDate.json | 0 ..._latest-posts__displayPostDate.parsed.json | 0 ...est-posts__displayPostDate.serialized.html | 0 .../fixtures/blocks}/core__list__ul.html | 0 .../fixtures/blocks}/core__list__ul.json | 0 .../blocks}/core__list__ul.parsed.json | 0 .../blocks}/core__list__ul.serialized.html | 0 .../fixtures/blocks}/core__media-text.html | 0 .../fixtures/blocks}/core__media-text.json | 0 .../blocks}/core__media-text.parsed.json | 0 .../blocks}/core__media-text.serialized.html | 0 .../core__media-text__image-alt-no-align.html | 0 .../core__media-text__image-alt-no-align.json | 0 ...media-text__image-alt-no-align.parsed.json | 0 ...a-text__image-alt-no-align.serialized.html | 0 ...ore__media-text__is-stacked-on-mobile.html | 0 ...ore__media-text__is-stacked-on-mobile.json | 0 ...dia-text__is-stacked-on-mobile.parsed.json | 0 ...text__is-stacked-on-mobile.serialized.html | 0 ..._media-text__media-right-custom-width.html | 0 ..._media-text__media-right-custom-width.json | 0 ...text__media-right-custom-width.parsed.json | 0 ...__media-right-custom-width.serialized.html | 0 .../blocks}/core__media-text__video.html | 0 .../blocks}/core__media-text__video.json | 0 .../core__media-text__video.parsed.json | 0 .../core__media-text__video.serialized.html | 0 .../fixtures/blocks}/core__missing.html | 0 .../fixtures/blocks}/core__missing.json | 0 .../blocks}/core__missing.parsed.json | 0 .../blocks}/core__missing.serialized.html | 0 .../fixtures/blocks}/core__more.html | 0 .../fixtures/blocks}/core__more.json | 0 .../fixtures/blocks}/core__more.parsed.json | 0 .../blocks}/core__more.serialized.html | 0 .../core__more__custom-text-teaser.html | 0 .../core__more__custom-text-teaser.json | 0 ...core__more__custom-text-teaser.parsed.json | 0 ...__more__custom-text-teaser.serialized.html | 0 .../fixtures/blocks}/core__nextpage.html | 0 .../fixtures/blocks}/core__nextpage.json | 0 .../blocks}/core__nextpage.parsed.json | 0 .../blocks}/core__nextpage.serialized.html | 0 .../blocks}/core__paragraph__align-right.html | 0 .../blocks}/core__paragraph__align-right.json | 0 .../core__paragraph__align-right.parsed.json | 0 ...re__paragraph__align-right.serialized.html | 0 .../blocks}/core__paragraph__deprecated.html | 0 .../blocks}/core__paragraph__deprecated.json | 0 .../core__paragraph__deprecated.parsed.json | 0 ...ore__paragraph__deprecated.serialized.html | 0 .../fixtures/blocks}/core__preformatted.html | 0 .../fixtures/blocks}/core__preformatted.json | 0 .../blocks}/core__preformatted.parsed.json | 0 .../core__preformatted.serialized.html | 0 .../fixtures/blocks}/core__pullquote.html | 0 .../fixtures/blocks}/core__pullquote.json | 0 .../blocks}/core__pullquote.parsed.json | 0 .../blocks}/core__pullquote.serialized.html | 0 .../core__pullquote__multi-paragraph.html | 0 .../core__pullquote__multi-paragraph.json | 0 ...re__pullquote__multi-paragraph.parsed.json | 0 ...pullquote__multi-paragraph.serialized.html | 0 .../blocks}/core__quote__style-1.html | 0 .../blocks}/core__quote__style-1.json | 0 .../blocks}/core__quote__style-1.parsed.json | 0 .../core__quote__style-1.serialized.html | 0 .../blocks}/core__quote__style-2.html | 0 .../blocks}/core__quote__style-2.json | 0 .../blocks}/core__quote__style-2.parsed.json | 0 .../core__quote__style-2.serialized.html | 0 .../e2e-tests/fixtures/blocks}/core__rss.html | 0 .../e2e-tests/fixtures/blocks}/core__rss.json | 0 .../fixtures/blocks}/core__rss.parsed.json | 0 .../blocks}/core__rss.serialized.html | 0 .../fixtures/blocks}/core__search.html | 0 .../fixtures/blocks}/core__search.json | 0 .../fixtures/blocks}/core__search.parsed.json | 0 .../blocks}/core__search.serialized.html | 0 .../blocks}/core__search__custom-text.html | 0 .../blocks}/core__search__custom-text.json | 0 .../core__search__custom-text.parsed.json | 0 .../core__search__custom-text.serialized.html | 0 .../fixtures/blocks}/core__separator.html | 0 .../fixtures/blocks}/core__separator.json | 0 .../blocks}/core__separator.parsed.json | 0 .../blocks}/core__separator.serialized.html | 0 .../fixtures/blocks}/core__shortcode.html | 0 .../fixtures/blocks}/core__shortcode.json | 0 .../blocks}/core__shortcode.parsed.json | 0 .../blocks}/core__shortcode.serialized.html | 0 .../fixtures/blocks}/core__spacer.html | 0 .../fixtures/blocks}/core__spacer.json | 0 .../fixtures/blocks}/core__spacer.parsed.json | 0 .../blocks}/core__spacer.serialized.html | 0 .../fixtures/blocks}/core__subhead.html | 0 .../fixtures/blocks}/core__subhead.json | 0 .../blocks}/core__subhead.parsed.json | 0 .../blocks}/core__subhead.serialized.html | 0 .../fixtures/blocks}/core__table.html | 0 .../fixtures/blocks}/core__table.json | 0 .../fixtures/blocks}/core__table.parsed.json | 0 .../blocks}/core__table.serialized.html | 0 .../fixtures/blocks}/core__tag-cloud.html | 0 .../fixtures/blocks}/core__tag-cloud.json | 0 .../blocks}/core__tag-cloud.parsed.json | 0 .../blocks}/core__tag-cloud.serialized.html | 0 .../core__tag-cloud__showTagCounts.html | 0 .../core__tag-cloud__showTagCounts.json | 0 ...core__tag-cloud__showTagCounts.parsed.json | 0 ...__tag-cloud__showTagCounts.serialized.html | 0 .../fixtures/blocks}/core__text-columns.html | 0 .../fixtures/blocks}/core__text-columns.json | 0 .../blocks}/core__text-columns.parsed.json | 0 .../core__text-columns.serialized.html | 0 .../core__text__converts-to-paragraph.html | 0 .../core__text__converts-to-paragraph.json | 0 ...e__text__converts-to-paragraph.parsed.json | 0 ...ext__converts-to-paragraph.serialized.html | 0 .../fixtures/blocks}/core__verse.html | 0 .../fixtures/blocks}/core__verse.json | 0 .../fixtures/blocks}/core__verse.parsed.json | 0 .../blocks}/core__verse.serialized.html | 0 .../fixtures/blocks}/core__video.html | 0 .../fixtures/blocks}/core__video.json | 0 .../fixtures/blocks}/core__video.parsed.json | 0 .../blocks}/core__video.serialized.html | 0 packages/e2e-tests/fixtures/index.js | 12 ++ packages/e2e-tests/fixtures/utils.js | 92 +++++++++ .../full-content/full-content.spec.js | 192 +++++++++--------- 281 files changed, 200 insertions(+), 98 deletions(-) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/README.md (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__4-invalid-starting-letter.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__4-invalid-starting-letter.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__4-invalid-starting-letter.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__4-invalid-starting-letter.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives__showPostCounts.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives__showPostCounts.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives__showPostCounts.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__archives__showPostCounts.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__audio.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__audio.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__audio.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__audio.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__block.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__block.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__block.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__block.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__button__center.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__button__center.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__button__center.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__button__center.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__calendar.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__calendar.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__calendar.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__calendar.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__categories.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__categories.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__categories.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__categories.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__code.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__code.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__code.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__code.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__column.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__column.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__column.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__column.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns__deprecated.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns__deprecated.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns__deprecated.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__columns__deprecated.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video-overlay.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video-overlay.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video-overlay.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video-overlay.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__cover__video.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__embed.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__embed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__embed.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__embed.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__new-window.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__new-window.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__new-window.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__new-window.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-download-button.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-download-button.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-download-button.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-download-button.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-text-link.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-text-link.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-text-link.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__file__no-text-link.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform__undelimited.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform__undelimited.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform__undelimited.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__freeform__undelimited.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery__columns.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery__columns.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery__columns.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__gallery__columns.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2-em.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2-em.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2-em.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2-em.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__heading__h2.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__html.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__html.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__html.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__html.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__attachment-link.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__attachment-link.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__attachment-link.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__attachment-link.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__center-caption.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__center-caption.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__center-caption.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__center-caption.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-class.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-class.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-class.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-class.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-rel.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-rel.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-rel.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link-rel.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__custom-link.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__media-link.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__media-link.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__media-link.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__image__media-link.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-Capitals.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-Capitals.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-Capitals.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-Capitals.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-special.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-special.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-special.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__invalid-special.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-comments.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-comments.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-comments.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-comments.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts__displayPostDate.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts__displayPostDate.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts__displayPostDate.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__latest-posts__displayPostDate.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__list__ul.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__list__ul.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__list__ul.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__list__ul.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__image-alt-no-align.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__image-alt-no-align.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__image-alt-no-align.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__image-alt-no-align.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__is-stacked-on-mobile.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__is-stacked-on-mobile.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__is-stacked-on-mobile.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__is-stacked-on-mobile.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__media-right-custom-width.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__media-right-custom-width.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__media-right-custom-width.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__media-right-custom-width.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__video.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__video.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__video.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__media-text__video.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__missing.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__missing.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__missing.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__missing.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more__custom-text-teaser.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more__custom-text-teaser.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more__custom-text-teaser.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__more__custom-text-teaser.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__nextpage.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__nextpage.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__nextpage.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__nextpage.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__align-right.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__align-right.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__align-right.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__align-right.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__deprecated.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__deprecated.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__deprecated.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__paragraph__deprecated.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__preformatted.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__preformatted.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__preformatted.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__preformatted.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote__multi-paragraph.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote__multi-paragraph.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote__multi-paragraph.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__pullquote__multi-paragraph.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-1.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-1.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-1.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-1.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-2.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-2.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-2.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__quote__style-2.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__rss.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__rss.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__rss.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__rss.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search__custom-text.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search__custom-text.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search__custom-text.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__search__custom-text.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__separator.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__separator.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__separator.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__separator.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__shortcode.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__shortcode.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__shortcode.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__shortcode.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__spacer.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__spacer.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__spacer.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__spacer.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__subhead.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__subhead.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__subhead.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__subhead.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__table.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__table.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__table.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__table.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud__showTagCounts.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud__showTagCounts.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud__showTagCounts.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__tag-cloud__showTagCounts.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text-columns.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text-columns.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text-columns.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text-columns.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text__converts-to-paragraph.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text__converts-to-paragraph.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text__converts-to-paragraph.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__text__converts-to-paragraph.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__verse.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__verse.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__verse.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__verse.serialized.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__video.html (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__video.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__video.parsed.json (100%) rename {test/integration/full-content/fixtures => packages/e2e-tests/fixtures/blocks}/core__video.serialized.html (100%) create mode 100644 packages/e2e-tests/fixtures/index.js create mode 100644 packages/e2e-tests/fixtures/utils.js diff --git a/package.json b/package.json index a467efd345915b..119dcd7e3ba26f 100644 --- a/package.json +++ b/package.json @@ -162,7 +162,7 @@ "dev": "npm run build:packages && concurrently \"wp-scripts start\" \"npm run dev:packages\"", "dev:packages": "node ./bin/packages/watch.js", "docs:build": "node docs/tool", - "fixtures:clean": "rimraf \"test/integration/full-content/fixtures/*.+(json|serialized.html)\"", + "fixtures:clean": "rimraf \"packages/e2e-tests/fixtures/blocks/*.+(json|serialized.html)\"", "fixtures:server-registered": "docker-compose run -w /var/www/html/wp-content/plugins/gutenberg --rm wordpress ./bin/get-server-blocks.php > test/integration/full-content/server-registered.json", "fixtures:generate": "npm run fixtures:server-registered && cross-env GENERATE_MISSING_FIXTURES=y npm run test-unit", "fixtures:regenerate": "npm run fixtures:clean && npm run fixtures:generate", diff --git a/test/integration/full-content/fixtures/README.md b/packages/e2e-tests/fixtures/blocks/README.md similarity index 100% rename from test/integration/full-content/fixtures/README.md rename to packages/e2e-tests/fixtures/blocks/README.md diff --git a/test/integration/full-content/fixtures/core__4-invalid-starting-letter.html b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.html similarity index 100% rename from test/integration/full-content/fixtures/core__4-invalid-starting-letter.html rename to packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.html diff --git a/test/integration/full-content/fixtures/core__4-invalid-starting-letter.json b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json similarity index 100% rename from test/integration/full-content/fixtures/core__4-invalid-starting-letter.json rename to packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json diff --git a/test/integration/full-content/fixtures/core__4-invalid-starting-letter.parsed.json b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__4-invalid-starting-letter.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json diff --git a/test/integration/full-content/fixtures/core__4-invalid-starting-letter.serialized.html b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__4-invalid-starting-letter.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.serialized.html diff --git a/test/integration/full-content/fixtures/core__archives.html b/packages/e2e-tests/fixtures/blocks/core__archives.html similarity index 100% rename from test/integration/full-content/fixtures/core__archives.html rename to packages/e2e-tests/fixtures/blocks/core__archives.html diff --git a/test/integration/full-content/fixtures/core__archives.json b/packages/e2e-tests/fixtures/blocks/core__archives.json similarity index 100% rename from test/integration/full-content/fixtures/core__archives.json rename to packages/e2e-tests/fixtures/blocks/core__archives.json diff --git a/test/integration/full-content/fixtures/core__archives.parsed.json b/packages/e2e-tests/fixtures/blocks/core__archives.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__archives.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__archives.parsed.json diff --git a/test/integration/full-content/fixtures/core__archives.serialized.html b/packages/e2e-tests/fixtures/blocks/core__archives.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__archives.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__archives.serialized.html diff --git a/test/integration/full-content/fixtures/core__archives__showPostCounts.html b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.html similarity index 100% rename from test/integration/full-content/fixtures/core__archives__showPostCounts.html rename to packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.html diff --git a/test/integration/full-content/fixtures/core__archives__showPostCounts.json b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json similarity index 100% rename from test/integration/full-content/fixtures/core__archives__showPostCounts.json rename to packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json diff --git a/test/integration/full-content/fixtures/core__archives__showPostCounts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__archives__showPostCounts.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json diff --git a/test/integration/full-content/fixtures/core__archives__showPostCounts.serialized.html b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__archives__showPostCounts.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.serialized.html diff --git a/test/integration/full-content/fixtures/core__audio.html b/packages/e2e-tests/fixtures/blocks/core__audio.html similarity index 100% rename from test/integration/full-content/fixtures/core__audio.html rename to packages/e2e-tests/fixtures/blocks/core__audio.html diff --git a/test/integration/full-content/fixtures/core__audio.json b/packages/e2e-tests/fixtures/blocks/core__audio.json similarity index 100% rename from test/integration/full-content/fixtures/core__audio.json rename to packages/e2e-tests/fixtures/blocks/core__audio.json diff --git a/test/integration/full-content/fixtures/core__audio.parsed.json b/packages/e2e-tests/fixtures/blocks/core__audio.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__audio.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__audio.parsed.json diff --git a/test/integration/full-content/fixtures/core__audio.serialized.html b/packages/e2e-tests/fixtures/blocks/core__audio.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__audio.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__audio.serialized.html diff --git a/test/integration/full-content/fixtures/core__block.html b/packages/e2e-tests/fixtures/blocks/core__block.html similarity index 100% rename from test/integration/full-content/fixtures/core__block.html rename to packages/e2e-tests/fixtures/blocks/core__block.html diff --git a/test/integration/full-content/fixtures/core__block.json b/packages/e2e-tests/fixtures/blocks/core__block.json similarity index 100% rename from test/integration/full-content/fixtures/core__block.json rename to packages/e2e-tests/fixtures/blocks/core__block.json diff --git a/test/integration/full-content/fixtures/core__block.parsed.json b/packages/e2e-tests/fixtures/blocks/core__block.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__block.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__block.parsed.json diff --git a/test/integration/full-content/fixtures/core__block.serialized.html b/packages/e2e-tests/fixtures/blocks/core__block.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__block.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__block.serialized.html diff --git a/test/integration/full-content/fixtures/core__button__center.html b/packages/e2e-tests/fixtures/blocks/core__button__center.html similarity index 100% rename from test/integration/full-content/fixtures/core__button__center.html rename to packages/e2e-tests/fixtures/blocks/core__button__center.html diff --git a/test/integration/full-content/fixtures/core__button__center.json b/packages/e2e-tests/fixtures/blocks/core__button__center.json similarity index 100% rename from test/integration/full-content/fixtures/core__button__center.json rename to packages/e2e-tests/fixtures/blocks/core__button__center.json diff --git a/test/integration/full-content/fixtures/core__button__center.parsed.json b/packages/e2e-tests/fixtures/blocks/core__button__center.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__button__center.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__button__center.parsed.json diff --git a/test/integration/full-content/fixtures/core__button__center.serialized.html b/packages/e2e-tests/fixtures/blocks/core__button__center.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__button__center.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__button__center.serialized.html diff --git a/test/integration/full-content/fixtures/core__calendar.html b/packages/e2e-tests/fixtures/blocks/core__calendar.html similarity index 100% rename from test/integration/full-content/fixtures/core__calendar.html rename to packages/e2e-tests/fixtures/blocks/core__calendar.html diff --git a/test/integration/full-content/fixtures/core__calendar.json b/packages/e2e-tests/fixtures/blocks/core__calendar.json similarity index 100% rename from test/integration/full-content/fixtures/core__calendar.json rename to packages/e2e-tests/fixtures/blocks/core__calendar.json diff --git a/test/integration/full-content/fixtures/core__calendar.parsed.json b/packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__calendar.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json diff --git a/test/integration/full-content/fixtures/core__calendar.serialized.html b/packages/e2e-tests/fixtures/blocks/core__calendar.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__calendar.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__calendar.serialized.html diff --git a/test/integration/full-content/fixtures/core__categories.html b/packages/e2e-tests/fixtures/blocks/core__categories.html similarity index 100% rename from test/integration/full-content/fixtures/core__categories.html rename to packages/e2e-tests/fixtures/blocks/core__categories.html diff --git a/test/integration/full-content/fixtures/core__categories.json b/packages/e2e-tests/fixtures/blocks/core__categories.json similarity index 100% rename from test/integration/full-content/fixtures/core__categories.json rename to packages/e2e-tests/fixtures/blocks/core__categories.json diff --git a/test/integration/full-content/fixtures/core__categories.parsed.json b/packages/e2e-tests/fixtures/blocks/core__categories.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__categories.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__categories.parsed.json diff --git a/test/integration/full-content/fixtures/core__categories.serialized.html b/packages/e2e-tests/fixtures/blocks/core__categories.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__categories.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__categories.serialized.html diff --git a/test/integration/full-content/fixtures/core__code.html b/packages/e2e-tests/fixtures/blocks/core__code.html similarity index 100% rename from test/integration/full-content/fixtures/core__code.html rename to packages/e2e-tests/fixtures/blocks/core__code.html diff --git a/test/integration/full-content/fixtures/core__code.json b/packages/e2e-tests/fixtures/blocks/core__code.json similarity index 100% rename from test/integration/full-content/fixtures/core__code.json rename to packages/e2e-tests/fixtures/blocks/core__code.json diff --git a/test/integration/full-content/fixtures/core__code.parsed.json b/packages/e2e-tests/fixtures/blocks/core__code.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__code.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__code.parsed.json diff --git a/test/integration/full-content/fixtures/core__code.serialized.html b/packages/e2e-tests/fixtures/blocks/core__code.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__code.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__code.serialized.html diff --git a/test/integration/full-content/fixtures/core__column.html b/packages/e2e-tests/fixtures/blocks/core__column.html similarity index 100% rename from test/integration/full-content/fixtures/core__column.html rename to packages/e2e-tests/fixtures/blocks/core__column.html diff --git a/test/integration/full-content/fixtures/core__column.json b/packages/e2e-tests/fixtures/blocks/core__column.json similarity index 100% rename from test/integration/full-content/fixtures/core__column.json rename to packages/e2e-tests/fixtures/blocks/core__column.json diff --git a/test/integration/full-content/fixtures/core__column.parsed.json b/packages/e2e-tests/fixtures/blocks/core__column.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__column.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__column.parsed.json diff --git a/test/integration/full-content/fixtures/core__column.serialized.html b/packages/e2e-tests/fixtures/blocks/core__column.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__column.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__column.serialized.html diff --git a/test/integration/full-content/fixtures/core__columns.html b/packages/e2e-tests/fixtures/blocks/core__columns.html similarity index 100% rename from test/integration/full-content/fixtures/core__columns.html rename to packages/e2e-tests/fixtures/blocks/core__columns.html diff --git a/test/integration/full-content/fixtures/core__columns.json b/packages/e2e-tests/fixtures/blocks/core__columns.json similarity index 100% rename from test/integration/full-content/fixtures/core__columns.json rename to packages/e2e-tests/fixtures/blocks/core__columns.json diff --git a/test/integration/full-content/fixtures/core__columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__columns.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__columns.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__columns.parsed.json diff --git a/test/integration/full-content/fixtures/core__columns.serialized.html b/packages/e2e-tests/fixtures/blocks/core__columns.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__columns.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__columns.serialized.html diff --git a/test/integration/full-content/fixtures/core__columns__deprecated.html b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.html similarity index 100% rename from test/integration/full-content/fixtures/core__columns__deprecated.html rename to packages/e2e-tests/fixtures/blocks/core__columns__deprecated.html diff --git a/test/integration/full-content/fixtures/core__columns__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json similarity index 100% rename from test/integration/full-content/fixtures/core__columns__deprecated.json rename to packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json diff --git a/test/integration/full-content/fixtures/core__columns__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__columns__deprecated.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json diff --git a/test/integration/full-content/fixtures/core__columns__deprecated.serialized.html b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__columns__deprecated.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__columns__deprecated.serialized.html diff --git a/test/integration/full-content/fixtures/core__cover.html b/packages/e2e-tests/fixtures/blocks/core__cover.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover.html rename to packages/e2e-tests/fixtures/blocks/core__cover.html diff --git a/test/integration/full-content/fixtures/core__cover.json b/packages/e2e-tests/fixtures/blocks/core__cover.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover.json rename to packages/e2e-tests/fixtures/blocks/core__cover.json diff --git a/test/integration/full-content/fixtures/core__cover.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__cover.parsed.json diff --git a/test/integration/full-content/fixtures/core__cover.serialized.html b/packages/e2e-tests/fixtures/blocks/core__cover.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__cover.serialized.html diff --git a/test/integration/full-content/fixtures/core__cover__video-overlay.html b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video-overlay.html rename to packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.html diff --git a/test/integration/full-content/fixtures/core__cover__video-overlay.json b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video-overlay.json rename to packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json diff --git a/test/integration/full-content/fixtures/core__cover__video-overlay.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video-overlay.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json diff --git a/test/integration/full-content/fixtures/core__cover__video-overlay.serialized.html b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video-overlay.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.serialized.html diff --git a/test/integration/full-content/fixtures/core__cover__video.html b/packages/e2e-tests/fixtures/blocks/core__cover__video.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video.html rename to packages/e2e-tests/fixtures/blocks/core__cover__video.html diff --git a/test/integration/full-content/fixtures/core__cover__video.json b/packages/e2e-tests/fixtures/blocks/core__cover__video.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video.json rename to packages/e2e-tests/fixtures/blocks/core__cover__video.json diff --git a/test/integration/full-content/fixtures/core__cover__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json diff --git a/test/integration/full-content/fixtures/core__cover__video.serialized.html b/packages/e2e-tests/fixtures/blocks/core__cover__video.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__cover__video.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__cover__video.serialized.html diff --git a/test/integration/full-content/fixtures/core__embed.html b/packages/e2e-tests/fixtures/blocks/core__embed.html similarity index 100% rename from test/integration/full-content/fixtures/core__embed.html rename to packages/e2e-tests/fixtures/blocks/core__embed.html diff --git a/test/integration/full-content/fixtures/core__embed.json b/packages/e2e-tests/fixtures/blocks/core__embed.json similarity index 100% rename from test/integration/full-content/fixtures/core__embed.json rename to packages/e2e-tests/fixtures/blocks/core__embed.json diff --git a/test/integration/full-content/fixtures/core__embed.parsed.json b/packages/e2e-tests/fixtures/blocks/core__embed.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__embed.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__embed.parsed.json diff --git a/test/integration/full-content/fixtures/core__embed.serialized.html b/packages/e2e-tests/fixtures/blocks/core__embed.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__embed.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__embed.serialized.html diff --git a/test/integration/full-content/fixtures/core__file__new-window.html b/packages/e2e-tests/fixtures/blocks/core__file__new-window.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__new-window.html rename to packages/e2e-tests/fixtures/blocks/core__file__new-window.html diff --git a/test/integration/full-content/fixtures/core__file__new-window.json b/packages/e2e-tests/fixtures/blocks/core__file__new-window.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__new-window.json rename to packages/e2e-tests/fixtures/blocks/core__file__new-window.json diff --git a/test/integration/full-content/fixtures/core__file__new-window.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__new-window.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json diff --git a/test/integration/full-content/fixtures/core__file__new-window.serialized.html b/packages/e2e-tests/fixtures/blocks/core__file__new-window.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__new-window.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__file__new-window.serialized.html diff --git a/test/integration/full-content/fixtures/core__file__no-download-button.html b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-download-button.html rename to packages/e2e-tests/fixtures/blocks/core__file__no-download-button.html diff --git a/test/integration/full-content/fixtures/core__file__no-download-button.json b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-download-button.json rename to packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json diff --git a/test/integration/full-content/fixtures/core__file__no-download-button.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-download-button.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json diff --git a/test/integration/full-content/fixtures/core__file__no-download-button.serialized.html b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-download-button.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__file__no-download-button.serialized.html diff --git a/test/integration/full-content/fixtures/core__file__no-text-link.html b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-text-link.html rename to packages/e2e-tests/fixtures/blocks/core__file__no-text-link.html diff --git a/test/integration/full-content/fixtures/core__file__no-text-link.json b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-text-link.json rename to packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json diff --git a/test/integration/full-content/fixtures/core__file__no-text-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-text-link.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json diff --git a/test/integration/full-content/fixtures/core__file__no-text-link.serialized.html b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__file__no-text-link.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__file__no-text-link.serialized.html diff --git a/test/integration/full-content/fixtures/core__freeform.html b/packages/e2e-tests/fixtures/blocks/core__freeform.html similarity index 100% rename from test/integration/full-content/fixtures/core__freeform.html rename to packages/e2e-tests/fixtures/blocks/core__freeform.html diff --git a/test/integration/full-content/fixtures/core__freeform.json b/packages/e2e-tests/fixtures/blocks/core__freeform.json similarity index 100% rename from test/integration/full-content/fixtures/core__freeform.json rename to packages/e2e-tests/fixtures/blocks/core__freeform.json diff --git a/test/integration/full-content/fixtures/core__freeform.parsed.json b/packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__freeform.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json diff --git a/test/integration/full-content/fixtures/core__freeform.serialized.html b/packages/e2e-tests/fixtures/blocks/core__freeform.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__freeform.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__freeform.serialized.html diff --git a/test/integration/full-content/fixtures/core__freeform__undelimited.html b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.html similarity index 100% rename from test/integration/full-content/fixtures/core__freeform__undelimited.html rename to packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.html diff --git a/test/integration/full-content/fixtures/core__freeform__undelimited.json b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json similarity index 100% rename from test/integration/full-content/fixtures/core__freeform__undelimited.json rename to packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json diff --git a/test/integration/full-content/fixtures/core__freeform__undelimited.parsed.json b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__freeform__undelimited.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json diff --git a/test/integration/full-content/fixtures/core__freeform__undelimited.serialized.html b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__freeform__undelimited.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.serialized.html diff --git a/test/integration/full-content/fixtures/core__gallery.html b/packages/e2e-tests/fixtures/blocks/core__gallery.html similarity index 100% rename from test/integration/full-content/fixtures/core__gallery.html rename to packages/e2e-tests/fixtures/blocks/core__gallery.html diff --git a/test/integration/full-content/fixtures/core__gallery.json b/packages/e2e-tests/fixtures/blocks/core__gallery.json similarity index 100% rename from test/integration/full-content/fixtures/core__gallery.json rename to packages/e2e-tests/fixtures/blocks/core__gallery.json diff --git a/test/integration/full-content/fixtures/core__gallery.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__gallery.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json diff --git a/test/integration/full-content/fixtures/core__gallery.serialized.html b/packages/e2e-tests/fixtures/blocks/core__gallery.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__gallery.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__gallery.serialized.html diff --git a/test/integration/full-content/fixtures/core__gallery__columns.html b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.html similarity index 100% rename from test/integration/full-content/fixtures/core__gallery__columns.html rename to packages/e2e-tests/fixtures/blocks/core__gallery__columns.html diff --git a/test/integration/full-content/fixtures/core__gallery__columns.json b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.json similarity index 100% rename from test/integration/full-content/fixtures/core__gallery__columns.json rename to packages/e2e-tests/fixtures/blocks/core__gallery__columns.json diff --git a/test/integration/full-content/fixtures/core__gallery__columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__gallery__columns.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json diff --git a/test/integration/full-content/fixtures/core__gallery__columns.serialized.html b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__gallery__columns.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__gallery__columns.serialized.html diff --git a/test/integration/full-content/fixtures/core__heading__h2-em.html b/packages/e2e-tests/fixtures/blocks/core__heading__h2-em.html similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2-em.html rename to packages/e2e-tests/fixtures/blocks/core__heading__h2-em.html diff --git a/test/integration/full-content/fixtures/core__heading__h2-em.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2-em.json similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2-em.json rename to packages/e2e-tests/fixtures/blocks/core__heading__h2-em.json diff --git a/test/integration/full-content/fixtures/core__heading__h2-em.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2-em.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2-em.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__heading__h2-em.parsed.json diff --git a/test/integration/full-content/fixtures/core__heading__h2-em.serialized.html b/packages/e2e-tests/fixtures/blocks/core__heading__h2-em.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2-em.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__heading__h2-em.serialized.html diff --git a/test/integration/full-content/fixtures/core__heading__h2.html b/packages/e2e-tests/fixtures/blocks/core__heading__h2.html similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2.html rename to packages/e2e-tests/fixtures/blocks/core__heading__h2.html diff --git a/test/integration/full-content/fixtures/core__heading__h2.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2.json similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2.json rename to packages/e2e-tests/fixtures/blocks/core__heading__h2.json diff --git a/test/integration/full-content/fixtures/core__heading__h2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json diff --git a/test/integration/full-content/fixtures/core__heading__h2.serialized.html b/packages/e2e-tests/fixtures/blocks/core__heading__h2.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__heading__h2.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__heading__h2.serialized.html diff --git a/test/integration/full-content/fixtures/core__html.html b/packages/e2e-tests/fixtures/blocks/core__html.html similarity index 100% rename from test/integration/full-content/fixtures/core__html.html rename to packages/e2e-tests/fixtures/blocks/core__html.html diff --git a/test/integration/full-content/fixtures/core__html.json b/packages/e2e-tests/fixtures/blocks/core__html.json similarity index 100% rename from test/integration/full-content/fixtures/core__html.json rename to packages/e2e-tests/fixtures/blocks/core__html.json diff --git a/test/integration/full-content/fixtures/core__html.parsed.json b/packages/e2e-tests/fixtures/blocks/core__html.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__html.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__html.parsed.json diff --git a/test/integration/full-content/fixtures/core__html.serialized.html b/packages/e2e-tests/fixtures/blocks/core__html.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__html.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__html.serialized.html diff --git a/test/integration/full-content/fixtures/core__image.html b/packages/e2e-tests/fixtures/blocks/core__image.html similarity index 100% rename from test/integration/full-content/fixtures/core__image.html rename to packages/e2e-tests/fixtures/blocks/core__image.html diff --git a/test/integration/full-content/fixtures/core__image.json b/packages/e2e-tests/fixtures/blocks/core__image.json similarity index 100% rename from test/integration/full-content/fixtures/core__image.json rename to packages/e2e-tests/fixtures/blocks/core__image.json diff --git a/test/integration/full-content/fixtures/core__image.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image.parsed.json diff --git a/test/integration/full-content/fixtures/core__image.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__attachment-link.html b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__attachment-link.html rename to packages/e2e-tests/fixtures/blocks/core__image__attachment-link.html diff --git a/test/integration/full-content/fixtures/core__image__attachment-link.json b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__attachment-link.json rename to packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json diff --git a/test/integration/full-content/fixtures/core__image__attachment-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__attachment-link.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__attachment-link.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__attachment-link.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__attachment-link.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__center-caption.html b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__center-caption.html rename to packages/e2e-tests/fixtures/blocks/core__image__center-caption.html diff --git a/test/integration/full-content/fixtures/core__image__center-caption.json b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__center-caption.json rename to packages/e2e-tests/fixtures/blocks/core__image__center-caption.json diff --git a/test/integration/full-content/fixtures/core__image__center-caption.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__center-caption.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__center-caption.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__center-caption.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__center-caption.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link-class.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-class.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link-class.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-class.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link-class.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-class.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link-class.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-class.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link-rel.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-rel.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link-rel.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-rel.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link-rel.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-rel.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link-rel.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link-rel.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link.html diff --git a/test/integration/full-content/fixtures/core__image__custom-link.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__custom-link.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__custom-link.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__custom-link.serialized.html diff --git a/test/integration/full-content/fixtures/core__image__media-link.html b/packages/e2e-tests/fixtures/blocks/core__image__media-link.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__media-link.html rename to packages/e2e-tests/fixtures/blocks/core__image__media-link.html diff --git a/test/integration/full-content/fixtures/core__image__media-link.json b/packages/e2e-tests/fixtures/blocks/core__image__media-link.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__media-link.json rename to packages/e2e-tests/fixtures/blocks/core__image__media-link.json diff --git a/test/integration/full-content/fixtures/core__image__media-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__image__media-link.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json diff --git a/test/integration/full-content/fixtures/core__image__media-link.serialized.html b/packages/e2e-tests/fixtures/blocks/core__image__media-link.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__image__media-link.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__image__media-link.serialized.html diff --git a/test/integration/full-content/fixtures/core__invalid-Capitals.html b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.html similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-Capitals.html rename to packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.html diff --git a/test/integration/full-content/fixtures/core__invalid-Capitals.json b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-Capitals.json rename to packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json diff --git a/test/integration/full-content/fixtures/core__invalid-Capitals.parsed.json b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-Capitals.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json diff --git a/test/integration/full-content/fixtures/core__invalid-Capitals.serialized.html b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-Capitals.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.serialized.html diff --git a/test/integration/full-content/fixtures/core__invalid-special.html b/packages/e2e-tests/fixtures/blocks/core__invalid-special.html similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-special.html rename to packages/e2e-tests/fixtures/blocks/core__invalid-special.html diff --git a/test/integration/full-content/fixtures/core__invalid-special.json b/packages/e2e-tests/fixtures/blocks/core__invalid-special.json similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-special.json rename to packages/e2e-tests/fixtures/blocks/core__invalid-special.json diff --git a/test/integration/full-content/fixtures/core__invalid-special.parsed.json b/packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-special.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json diff --git a/test/integration/full-content/fixtures/core__invalid-special.serialized.html b/packages/e2e-tests/fixtures/blocks/core__invalid-special.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__invalid-special.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__invalid-special.serialized.html diff --git a/test/integration/full-content/fixtures/core__latest-comments.html b/packages/e2e-tests/fixtures/blocks/core__latest-comments.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-comments.html rename to packages/e2e-tests/fixtures/blocks/core__latest-comments.html diff --git a/test/integration/full-content/fixtures/core__latest-comments.json b/packages/e2e-tests/fixtures/blocks/core__latest-comments.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-comments.json rename to packages/e2e-tests/fixtures/blocks/core__latest-comments.json diff --git a/test/integration/full-content/fixtures/core__latest-comments.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-comments.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json diff --git a/test/integration/full-content/fixtures/core__latest-comments.serialized.html b/packages/e2e-tests/fixtures/blocks/core__latest-comments.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-comments.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__latest-comments.serialized.html diff --git a/test/integration/full-content/fixtures/core__latest-posts.html b/packages/e2e-tests/fixtures/blocks/core__latest-posts.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts.html rename to packages/e2e-tests/fixtures/blocks/core__latest-posts.html diff --git a/test/integration/full-content/fixtures/core__latest-posts.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts.json rename to packages/e2e-tests/fixtures/blocks/core__latest-posts.json diff --git a/test/integration/full-content/fixtures/core__latest-posts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json diff --git a/test/integration/full-content/fixtures/core__latest-posts.serialized.html b/packages/e2e-tests/fixtures/blocks/core__latest-posts.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__latest-posts.serialized.html diff --git a/test/integration/full-content/fixtures/core__latest-posts__displayPostDate.html b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts__displayPostDate.html rename to packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.html diff --git a/test/integration/full-content/fixtures/core__latest-posts__displayPostDate.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts__displayPostDate.json rename to packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json diff --git a/test/integration/full-content/fixtures/core__latest-posts__displayPostDate.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts__displayPostDate.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json diff --git a/test/integration/full-content/fixtures/core__latest-posts__displayPostDate.serialized.html b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__latest-posts__displayPostDate.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.serialized.html diff --git a/test/integration/full-content/fixtures/core__list__ul.html b/packages/e2e-tests/fixtures/blocks/core__list__ul.html similarity index 100% rename from test/integration/full-content/fixtures/core__list__ul.html rename to packages/e2e-tests/fixtures/blocks/core__list__ul.html diff --git a/test/integration/full-content/fixtures/core__list__ul.json b/packages/e2e-tests/fixtures/blocks/core__list__ul.json similarity index 100% rename from test/integration/full-content/fixtures/core__list__ul.json rename to packages/e2e-tests/fixtures/blocks/core__list__ul.json diff --git a/test/integration/full-content/fixtures/core__list__ul.parsed.json b/packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__list__ul.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json diff --git a/test/integration/full-content/fixtures/core__list__ul.serialized.html b/packages/e2e-tests/fixtures/blocks/core__list__ul.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__list__ul.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__list__ul.serialized.html diff --git a/test/integration/full-content/fixtures/core__media-text.html b/packages/e2e-tests/fixtures/blocks/core__media-text.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text.html rename to packages/e2e-tests/fixtures/blocks/core__media-text.html diff --git a/test/integration/full-content/fixtures/core__media-text.json b/packages/e2e-tests/fixtures/blocks/core__media-text.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text.json rename to packages/e2e-tests/fixtures/blocks/core__media-text.json diff --git a/test/integration/full-content/fixtures/core__media-text.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json diff --git a/test/integration/full-content/fixtures/core__media-text.serialized.html b/packages/e2e-tests/fixtures/blocks/core__media-text.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__media-text.serialized.html diff --git a/test/integration/full-content/fixtures/core__media-text__image-alt-no-align.html b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__image-alt-no-align.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.html diff --git a/test/integration/full-content/fixtures/core__media-text__image-alt-no-align.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__image-alt-no-align.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json diff --git a/test/integration/full-content/fixtures/core__media-text__image-alt-no-align.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__image-alt-no-align.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json diff --git a/test/integration/full-content/fixtures/core__media-text__image-alt-no-align.serialized.html b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__image-alt-no-align.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.serialized.html diff --git a/test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.html b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.html diff --git a/test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.json b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json diff --git a/test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json diff --git a/test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.serialized.html b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__is-stacked-on-mobile.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.serialized.html diff --git a/test/integration/full-content/fixtures/core__media-text__media-right-custom-width.html b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__media-right-custom-width.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.html diff --git a/test/integration/full-content/fixtures/core__media-text__media-right-custom-width.json b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__media-right-custom-width.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json diff --git a/test/integration/full-content/fixtures/core__media-text__media-right-custom-width.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__media-right-custom-width.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json diff --git a/test/integration/full-content/fixtures/core__media-text__media-right-custom-width.serialized.html b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__media-right-custom-width.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.serialized.html diff --git a/test/integration/full-content/fixtures/core__media-text__video.html b/packages/e2e-tests/fixtures/blocks/core__media-text__video.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__video.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__video.html diff --git a/test/integration/full-content/fixtures/core__media-text__video.json b/packages/e2e-tests/fixtures/blocks/core__media-text__video.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__video.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__video.json diff --git a/test/integration/full-content/fixtures/core__media-text__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__video.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json diff --git a/test/integration/full-content/fixtures/core__media-text__video.serialized.html b/packages/e2e-tests/fixtures/blocks/core__media-text__video.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__media-text__video.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__media-text__video.serialized.html diff --git a/test/integration/full-content/fixtures/core__missing.html b/packages/e2e-tests/fixtures/blocks/core__missing.html similarity index 100% rename from test/integration/full-content/fixtures/core__missing.html rename to packages/e2e-tests/fixtures/blocks/core__missing.html diff --git a/test/integration/full-content/fixtures/core__missing.json b/packages/e2e-tests/fixtures/blocks/core__missing.json similarity index 100% rename from test/integration/full-content/fixtures/core__missing.json rename to packages/e2e-tests/fixtures/blocks/core__missing.json diff --git a/test/integration/full-content/fixtures/core__missing.parsed.json b/packages/e2e-tests/fixtures/blocks/core__missing.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__missing.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__missing.parsed.json diff --git a/test/integration/full-content/fixtures/core__missing.serialized.html b/packages/e2e-tests/fixtures/blocks/core__missing.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__missing.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__missing.serialized.html diff --git a/test/integration/full-content/fixtures/core__more.html b/packages/e2e-tests/fixtures/blocks/core__more.html similarity index 100% rename from test/integration/full-content/fixtures/core__more.html rename to packages/e2e-tests/fixtures/blocks/core__more.html diff --git a/test/integration/full-content/fixtures/core__more.json b/packages/e2e-tests/fixtures/blocks/core__more.json similarity index 100% rename from test/integration/full-content/fixtures/core__more.json rename to packages/e2e-tests/fixtures/blocks/core__more.json diff --git a/test/integration/full-content/fixtures/core__more.parsed.json b/packages/e2e-tests/fixtures/blocks/core__more.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__more.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__more.parsed.json diff --git a/test/integration/full-content/fixtures/core__more.serialized.html b/packages/e2e-tests/fixtures/blocks/core__more.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__more.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__more.serialized.html diff --git a/test/integration/full-content/fixtures/core__more__custom-text-teaser.html b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.html similarity index 100% rename from test/integration/full-content/fixtures/core__more__custom-text-teaser.html rename to packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.html diff --git a/test/integration/full-content/fixtures/core__more__custom-text-teaser.json b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json similarity index 100% rename from test/integration/full-content/fixtures/core__more__custom-text-teaser.json rename to packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json diff --git a/test/integration/full-content/fixtures/core__more__custom-text-teaser.parsed.json b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__more__custom-text-teaser.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json diff --git a/test/integration/full-content/fixtures/core__more__custom-text-teaser.serialized.html b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__more__custom-text-teaser.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.serialized.html diff --git a/test/integration/full-content/fixtures/core__nextpage.html b/packages/e2e-tests/fixtures/blocks/core__nextpage.html similarity index 100% rename from test/integration/full-content/fixtures/core__nextpage.html rename to packages/e2e-tests/fixtures/blocks/core__nextpage.html diff --git a/test/integration/full-content/fixtures/core__nextpage.json b/packages/e2e-tests/fixtures/blocks/core__nextpage.json similarity index 100% rename from test/integration/full-content/fixtures/core__nextpage.json rename to packages/e2e-tests/fixtures/blocks/core__nextpage.json diff --git a/test/integration/full-content/fixtures/core__nextpage.parsed.json b/packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__nextpage.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json diff --git a/test/integration/full-content/fixtures/core__nextpage.serialized.html b/packages/e2e-tests/fixtures/blocks/core__nextpage.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__nextpage.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__nextpage.serialized.html diff --git a/test/integration/full-content/fixtures/core__paragraph__align-right.html b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.html similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__align-right.html rename to packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.html diff --git a/test/integration/full-content/fixtures/core__paragraph__align-right.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__align-right.json rename to packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json diff --git a/test/integration/full-content/fixtures/core__paragraph__align-right.parsed.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__align-right.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json diff --git a/test/integration/full-content/fixtures/core__paragraph__align-right.serialized.html b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__align-right.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.serialized.html diff --git a/test/integration/full-content/fixtures/core__paragraph__deprecated.html b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.html similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__deprecated.html rename to packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.html diff --git a/test/integration/full-content/fixtures/core__paragraph__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__deprecated.json rename to packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json diff --git a/test/integration/full-content/fixtures/core__paragraph__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__deprecated.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json diff --git a/test/integration/full-content/fixtures/core__paragraph__deprecated.serialized.html b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__paragraph__deprecated.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.serialized.html diff --git a/test/integration/full-content/fixtures/core__preformatted.html b/packages/e2e-tests/fixtures/blocks/core__preformatted.html similarity index 100% rename from test/integration/full-content/fixtures/core__preformatted.html rename to packages/e2e-tests/fixtures/blocks/core__preformatted.html diff --git a/test/integration/full-content/fixtures/core__preformatted.json b/packages/e2e-tests/fixtures/blocks/core__preformatted.json similarity index 100% rename from test/integration/full-content/fixtures/core__preformatted.json rename to packages/e2e-tests/fixtures/blocks/core__preformatted.json diff --git a/test/integration/full-content/fixtures/core__preformatted.parsed.json b/packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__preformatted.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json diff --git a/test/integration/full-content/fixtures/core__preformatted.serialized.html b/packages/e2e-tests/fixtures/blocks/core__preformatted.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__preformatted.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__preformatted.serialized.html diff --git a/test/integration/full-content/fixtures/core__pullquote.html b/packages/e2e-tests/fixtures/blocks/core__pullquote.html similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote.html rename to packages/e2e-tests/fixtures/blocks/core__pullquote.html diff --git a/test/integration/full-content/fixtures/core__pullquote.json b/packages/e2e-tests/fixtures/blocks/core__pullquote.json similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote.json rename to packages/e2e-tests/fixtures/blocks/core__pullquote.json diff --git a/test/integration/full-content/fixtures/core__pullquote.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json diff --git a/test/integration/full-content/fixtures/core__pullquote.serialized.html b/packages/e2e-tests/fixtures/blocks/core__pullquote.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__pullquote.serialized.html diff --git a/test/integration/full-content/fixtures/core__pullquote__multi-paragraph.html b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.html similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote__multi-paragraph.html rename to packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.html diff --git a/test/integration/full-content/fixtures/core__pullquote__multi-paragraph.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote__multi-paragraph.json rename to packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json diff --git a/test/integration/full-content/fixtures/core__pullquote__multi-paragraph.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote__multi-paragraph.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json diff --git a/test/integration/full-content/fixtures/core__pullquote__multi-paragraph.serialized.html b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__pullquote__multi-paragraph.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.serialized.html diff --git a/test/integration/full-content/fixtures/core__quote__style-1.html b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.html similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-1.html rename to packages/e2e-tests/fixtures/blocks/core__quote__style-1.html diff --git a/test/integration/full-content/fixtures/core__quote__style-1.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.json similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-1.json rename to packages/e2e-tests/fixtures/blocks/core__quote__style-1.json diff --git a/test/integration/full-content/fixtures/core__quote__style-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-1.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json diff --git a/test/integration/full-content/fixtures/core__quote__style-1.serialized.html b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-1.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__quote__style-1.serialized.html diff --git a/test/integration/full-content/fixtures/core__quote__style-2.html b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.html similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-2.html rename to packages/e2e-tests/fixtures/blocks/core__quote__style-2.html diff --git a/test/integration/full-content/fixtures/core__quote__style-2.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.json similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-2.json rename to packages/e2e-tests/fixtures/blocks/core__quote__style-2.json diff --git a/test/integration/full-content/fixtures/core__quote__style-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-2.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json diff --git a/test/integration/full-content/fixtures/core__quote__style-2.serialized.html b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__quote__style-2.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__quote__style-2.serialized.html diff --git a/test/integration/full-content/fixtures/core__rss.html b/packages/e2e-tests/fixtures/blocks/core__rss.html similarity index 100% rename from test/integration/full-content/fixtures/core__rss.html rename to packages/e2e-tests/fixtures/blocks/core__rss.html diff --git a/test/integration/full-content/fixtures/core__rss.json b/packages/e2e-tests/fixtures/blocks/core__rss.json similarity index 100% rename from test/integration/full-content/fixtures/core__rss.json rename to packages/e2e-tests/fixtures/blocks/core__rss.json diff --git a/test/integration/full-content/fixtures/core__rss.parsed.json b/packages/e2e-tests/fixtures/blocks/core__rss.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__rss.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__rss.parsed.json diff --git a/test/integration/full-content/fixtures/core__rss.serialized.html b/packages/e2e-tests/fixtures/blocks/core__rss.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__rss.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__rss.serialized.html diff --git a/test/integration/full-content/fixtures/core__search.html b/packages/e2e-tests/fixtures/blocks/core__search.html similarity index 100% rename from test/integration/full-content/fixtures/core__search.html rename to packages/e2e-tests/fixtures/blocks/core__search.html diff --git a/test/integration/full-content/fixtures/core__search.json b/packages/e2e-tests/fixtures/blocks/core__search.json similarity index 100% rename from test/integration/full-content/fixtures/core__search.json rename to packages/e2e-tests/fixtures/blocks/core__search.json diff --git a/test/integration/full-content/fixtures/core__search.parsed.json b/packages/e2e-tests/fixtures/blocks/core__search.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__search.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__search.parsed.json diff --git a/test/integration/full-content/fixtures/core__search.serialized.html b/packages/e2e-tests/fixtures/blocks/core__search.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__search.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__search.serialized.html diff --git a/test/integration/full-content/fixtures/core__search__custom-text.html b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.html similarity index 100% rename from test/integration/full-content/fixtures/core__search__custom-text.html rename to packages/e2e-tests/fixtures/blocks/core__search__custom-text.html diff --git a/test/integration/full-content/fixtures/core__search__custom-text.json b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.json similarity index 100% rename from test/integration/full-content/fixtures/core__search__custom-text.json rename to packages/e2e-tests/fixtures/blocks/core__search__custom-text.json diff --git a/test/integration/full-content/fixtures/core__search__custom-text.parsed.json b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__search__custom-text.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json diff --git a/test/integration/full-content/fixtures/core__search__custom-text.serialized.html b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__search__custom-text.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__search__custom-text.serialized.html diff --git a/test/integration/full-content/fixtures/core__separator.html b/packages/e2e-tests/fixtures/blocks/core__separator.html similarity index 100% rename from test/integration/full-content/fixtures/core__separator.html rename to packages/e2e-tests/fixtures/blocks/core__separator.html diff --git a/test/integration/full-content/fixtures/core__separator.json b/packages/e2e-tests/fixtures/blocks/core__separator.json similarity index 100% rename from test/integration/full-content/fixtures/core__separator.json rename to packages/e2e-tests/fixtures/blocks/core__separator.json diff --git a/test/integration/full-content/fixtures/core__separator.parsed.json b/packages/e2e-tests/fixtures/blocks/core__separator.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__separator.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__separator.parsed.json diff --git a/test/integration/full-content/fixtures/core__separator.serialized.html b/packages/e2e-tests/fixtures/blocks/core__separator.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__separator.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__separator.serialized.html diff --git a/test/integration/full-content/fixtures/core__shortcode.html b/packages/e2e-tests/fixtures/blocks/core__shortcode.html similarity index 100% rename from test/integration/full-content/fixtures/core__shortcode.html rename to packages/e2e-tests/fixtures/blocks/core__shortcode.html diff --git a/test/integration/full-content/fixtures/core__shortcode.json b/packages/e2e-tests/fixtures/blocks/core__shortcode.json similarity index 100% rename from test/integration/full-content/fixtures/core__shortcode.json rename to packages/e2e-tests/fixtures/blocks/core__shortcode.json diff --git a/test/integration/full-content/fixtures/core__shortcode.parsed.json b/packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__shortcode.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json diff --git a/test/integration/full-content/fixtures/core__shortcode.serialized.html b/packages/e2e-tests/fixtures/blocks/core__shortcode.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__shortcode.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__shortcode.serialized.html diff --git a/test/integration/full-content/fixtures/core__spacer.html b/packages/e2e-tests/fixtures/blocks/core__spacer.html similarity index 100% rename from test/integration/full-content/fixtures/core__spacer.html rename to packages/e2e-tests/fixtures/blocks/core__spacer.html diff --git a/test/integration/full-content/fixtures/core__spacer.json b/packages/e2e-tests/fixtures/blocks/core__spacer.json similarity index 100% rename from test/integration/full-content/fixtures/core__spacer.json rename to packages/e2e-tests/fixtures/blocks/core__spacer.json diff --git a/test/integration/full-content/fixtures/core__spacer.parsed.json b/packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__spacer.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json diff --git a/test/integration/full-content/fixtures/core__spacer.serialized.html b/packages/e2e-tests/fixtures/blocks/core__spacer.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__spacer.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__spacer.serialized.html diff --git a/test/integration/full-content/fixtures/core__subhead.html b/packages/e2e-tests/fixtures/blocks/core__subhead.html similarity index 100% rename from test/integration/full-content/fixtures/core__subhead.html rename to packages/e2e-tests/fixtures/blocks/core__subhead.html diff --git a/test/integration/full-content/fixtures/core__subhead.json b/packages/e2e-tests/fixtures/blocks/core__subhead.json similarity index 100% rename from test/integration/full-content/fixtures/core__subhead.json rename to packages/e2e-tests/fixtures/blocks/core__subhead.json diff --git a/test/integration/full-content/fixtures/core__subhead.parsed.json b/packages/e2e-tests/fixtures/blocks/core__subhead.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__subhead.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__subhead.parsed.json diff --git a/test/integration/full-content/fixtures/core__subhead.serialized.html b/packages/e2e-tests/fixtures/blocks/core__subhead.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__subhead.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__subhead.serialized.html diff --git a/test/integration/full-content/fixtures/core__table.html b/packages/e2e-tests/fixtures/blocks/core__table.html similarity index 100% rename from test/integration/full-content/fixtures/core__table.html rename to packages/e2e-tests/fixtures/blocks/core__table.html diff --git a/test/integration/full-content/fixtures/core__table.json b/packages/e2e-tests/fixtures/blocks/core__table.json similarity index 100% rename from test/integration/full-content/fixtures/core__table.json rename to packages/e2e-tests/fixtures/blocks/core__table.json diff --git a/test/integration/full-content/fixtures/core__table.parsed.json b/packages/e2e-tests/fixtures/blocks/core__table.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__table.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__table.parsed.json diff --git a/test/integration/full-content/fixtures/core__table.serialized.html b/packages/e2e-tests/fixtures/blocks/core__table.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__table.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__table.serialized.html diff --git a/test/integration/full-content/fixtures/core__tag-cloud.html b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.html similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud.html rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud.html diff --git a/test/integration/full-content/fixtures/core__tag-cloud.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.json similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud.json rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud.json diff --git a/test/integration/full-content/fixtures/core__tag-cloud.parsed.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json diff --git a/test/integration/full-content/fixtures/core__tag-cloud.serialized.html b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud.serialized.html diff --git a/test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.html b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.html similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.html rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.html diff --git a/test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.json rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json diff --git a/test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json diff --git a/test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.serialized.html b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__tag-cloud__showTagCounts.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.serialized.html diff --git a/test/integration/full-content/fixtures/core__text-columns.html b/packages/e2e-tests/fixtures/blocks/core__text-columns.html similarity index 100% rename from test/integration/full-content/fixtures/core__text-columns.html rename to packages/e2e-tests/fixtures/blocks/core__text-columns.html diff --git a/test/integration/full-content/fixtures/core__text-columns.json b/packages/e2e-tests/fixtures/blocks/core__text-columns.json similarity index 100% rename from test/integration/full-content/fixtures/core__text-columns.json rename to packages/e2e-tests/fixtures/blocks/core__text-columns.json diff --git a/test/integration/full-content/fixtures/core__text-columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__text-columns.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json diff --git a/test/integration/full-content/fixtures/core__text-columns.serialized.html b/packages/e2e-tests/fixtures/blocks/core__text-columns.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__text-columns.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__text-columns.serialized.html diff --git a/test/integration/full-content/fixtures/core__text__converts-to-paragraph.html b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.html similarity index 100% rename from test/integration/full-content/fixtures/core__text__converts-to-paragraph.html rename to packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.html diff --git a/test/integration/full-content/fixtures/core__text__converts-to-paragraph.json b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json similarity index 100% rename from test/integration/full-content/fixtures/core__text__converts-to-paragraph.json rename to packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json diff --git a/test/integration/full-content/fixtures/core__text__converts-to-paragraph.parsed.json b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__text__converts-to-paragraph.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json diff --git a/test/integration/full-content/fixtures/core__text__converts-to-paragraph.serialized.html b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__text__converts-to-paragraph.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.serialized.html diff --git a/test/integration/full-content/fixtures/core__verse.html b/packages/e2e-tests/fixtures/blocks/core__verse.html similarity index 100% rename from test/integration/full-content/fixtures/core__verse.html rename to packages/e2e-tests/fixtures/blocks/core__verse.html diff --git a/test/integration/full-content/fixtures/core__verse.json b/packages/e2e-tests/fixtures/blocks/core__verse.json similarity index 100% rename from test/integration/full-content/fixtures/core__verse.json rename to packages/e2e-tests/fixtures/blocks/core__verse.json diff --git a/test/integration/full-content/fixtures/core__verse.parsed.json b/packages/e2e-tests/fixtures/blocks/core__verse.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__verse.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__verse.parsed.json diff --git a/test/integration/full-content/fixtures/core__verse.serialized.html b/packages/e2e-tests/fixtures/blocks/core__verse.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__verse.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__verse.serialized.html diff --git a/test/integration/full-content/fixtures/core__video.html b/packages/e2e-tests/fixtures/blocks/core__video.html similarity index 100% rename from test/integration/full-content/fixtures/core__video.html rename to packages/e2e-tests/fixtures/blocks/core__video.html diff --git a/test/integration/full-content/fixtures/core__video.json b/packages/e2e-tests/fixtures/blocks/core__video.json similarity index 100% rename from test/integration/full-content/fixtures/core__video.json rename to packages/e2e-tests/fixtures/blocks/core__video.json diff --git a/test/integration/full-content/fixtures/core__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__video.parsed.json similarity index 100% rename from test/integration/full-content/fixtures/core__video.parsed.json rename to packages/e2e-tests/fixtures/blocks/core__video.parsed.json diff --git a/test/integration/full-content/fixtures/core__video.serialized.html b/packages/e2e-tests/fixtures/blocks/core__video.serialized.html similarity index 100% rename from test/integration/full-content/fixtures/core__video.serialized.html rename to packages/e2e-tests/fixtures/blocks/core__video.serialized.html diff --git a/packages/e2e-tests/fixtures/index.js b/packages/e2e-tests/fixtures/index.js new file mode 100644 index 00000000000000..a1ee006bdc4730 --- /dev/null +++ b/packages/e2e-tests/fixtures/index.js @@ -0,0 +1,12 @@ +export { + blockNameToFixtureBasename, + getAvailableBlockFixturesBasenames, + getBlockFixtureHTML, + getBlockFixtureJSON, + getBlockFixtureParsedJSON, + getBlockFixtureSerializedHTML, + writeBlockFixtureHTML, + writeBlockFixtureJSON, + writeBlockFixtureParsedJSON, + writeBlockFixtureSerializedHTML, +} from './utils'; diff --git a/packages/e2e-tests/fixtures/utils.js b/packages/e2e-tests/fixtures/utils.js new file mode 100644 index 00000000000000..344e6d4a0504a7 --- /dev/null +++ b/packages/e2e-tests/fixtures/utils.js @@ -0,0 +1,92 @@ +/** + * External dependencies + */ +import fs from 'fs'; +import path from 'path'; +import { uniq } from 'lodash'; + +const FIXTURES_DIR = path.join( __dirname, 'blocks' ); + +function readFixtureFile( fixturesDir, filename ) { + try { + return fs.readFileSync( + path.join( fixturesDir, filename ), + 'utf8' + ); + } catch ( err ) { + return null; + } +} + +function writeFixtureFile( fixturesDir, filename, content ) { + fs.writeFileSync( + path.join( fixturesDir, filename ), + content + ); +} + +export function blockNameToFixtureBasename( blockName ) { + return blockName.replace( /\//g, '__' ); +} + +export function getAvailableBlockFixturesBasenames() { + // We expect 4 different types of files for each fixture: + // - fixture.html : original content + // - fixture.parsed.json : parser output + // - fixture.json : blocks structure + // - fixture.serialized.html : re-serialized content + // Get the "base" name for each fixture first. + return uniq( + fs.readdirSync( FIXTURES_DIR ) + .filter( ( f ) => /(\.html|\.json)$/.test( f ) ) + .map( ( f ) => f.replace( /\..+$/, '' ) ) + ); +} + +export function getBlockFixtureHTML( basename ) { + const filename = `${ basename }.html`; + return { + filename, + file: readFixtureFile( FIXTURES_DIR, filename ), + }; +} + +export function getBlockFixtureJSON( basename ) { + const filename = `${ basename }.json`; + return { + filename, + file: readFixtureFile( FIXTURES_DIR, filename ), + }; +} + +export function getBlockFixtureParsedJSON( basename ) { + const filename = `${ basename }.parsed.json`; + return { + filename, + file: readFixtureFile( FIXTURES_DIR, filename ), + }; +} + +export function getBlockFixtureSerializedHTML( basename ) { + const filename = `${ basename }.serialized.html`; + return { + filename, + file: readFixtureFile( FIXTURES_DIR, filename ), + }; +} + +export function writeBlockFixtureHTML( basename, fixture ) { + writeFixtureFile( FIXTURES_DIR, `${ basename }.html`, fixture ); +} + +export function writeBlockFixtureJSON( basename, fixture ) { + writeFixtureFile( FIXTURES_DIR, `${ basename }.json`, fixture ); +} + +export function writeBlockFixtureParsedJSON( basename, fixture ) { + writeFixtureFile( FIXTURES_DIR, `${ basename }.parsed.json`, fixture ); +} + +export function writeBlockFixtureSerializedHTML( basename, fixture ) { + writeFixtureFile( FIXTURES_DIR, `${ basename }.serialized.html`, fixture ); +} diff --git a/test/integration/full-content/full-content.spec.js b/test/integration/full-content/full-content.spec.js index 42132dea401bc2..cd5308e92b081e 100644 --- a/test/integration/full-content/full-content.spec.js +++ b/test/integration/full-content/full-content.spec.js @@ -1,9 +1,7 @@ /** * External dependencies */ -import fs from 'fs'; -import path from 'path'; -import { uniq, startsWith, get } from 'lodash'; +import { startsWith, get } from 'lodash'; import { format } from 'util'; /** @@ -17,38 +15,19 @@ import { } from '@wordpress/blocks'; import { parse as grammarParse } from '@wordpress/block-serialization-default-parser'; import { registerCoreBlocks } from '@wordpress/block-library'; - -const fixturesDir = path.join( __dirname, 'fixtures' ); - -// We expect 4 different types of files for each fixture: -// - fixture.html : original content -// - fixture.parsed.json : parser output -// - fixture.json : blocks structure -// - fixture.serialized.html : re-serialized content -// Get the "base" name for each fixture first. -const fileBasenames = uniq( - fs.readdirSync( fixturesDir ) - .filter( ( f ) => /(\.html|\.json)$/.test( f ) ) - .map( ( f ) => f.replace( /\..+$/, '' ) ) -); - -function readFixtureFile( filename ) { - try { - return fs.readFileSync( - path.join( fixturesDir, filename ), - 'utf8' - ); - } catch ( err ) { - return null; - } -} - -function writeFixtureFile( filename, content ) { - fs.writeFileSync( - path.join( fixturesDir, filename ), - content - ); -} +import { //eslint-disable-line no-restricted-syntax + blockNameToFixtureBasename, + getAvailableBlockFixturesBasenames, + getBlockFixtureHTML, + getBlockFixtureJSON, + getBlockFixtureParsedJSON, + getBlockFixtureSerializedHTML, + writeBlockFixtureParsedJSON, + writeBlockFixtureJSON, + writeBlockFixtureSerializedHTML, +} from '@wordpress/e2e-tests/fixtures'; + +const blockBasenames = getAvailableBlockFixturesBasenames(); function normalizeParsedBlocks( blocks ) { return blocks.map( ( block, index ) => { @@ -75,31 +54,37 @@ describe( 'full post content fixture', () => { registerCoreBlocks(); } ); - fileBasenames.forEach( ( f ) => { - it( f, () => { - const content = readFixtureFile( f + '.html' ); - if ( content === null ) { + blockBasenames.forEach( ( basename ) => { + it( basename, () => { + const { + filename: htmlFixtureFileName, + file: htmlFixtureContent, + } = getBlockFixtureHTML( basename ); + if ( htmlFixtureContent === null ) { throw new Error( - 'Missing fixture file: ' + f + '.html' + `Missing fixture file: ${ htmlFixtureFileName }` ); } - const parserOutputActual = grammarParse( content ); - let parserOutputExpectedString = readFixtureFile( f + '.parsed.json' ); - - if ( ! parserOutputExpectedString ) { - if ( process.env.GENERATE_MISSING_FIXTURES ) { - parserOutputExpectedString = JSON.stringify( - parserOutputActual, - null, - 4 - ) + '\n'; - writeFixtureFile( f + '.parsed.json', parserOutputExpectedString ); - } else { - throw new Error( - 'Missing fixture file: ' + f + '.parsed.json' - ); - } + const { + filename: parsedJSONFixtureFileName, + file: parsedJSONFixtureContent, + } = getBlockFixtureParsedJSON( basename ); + const parserOutputActual = grammarParse( htmlFixtureContent ); + let parserOutputExpectedString; + if ( parsedJSONFixtureContent ) { + parserOutputExpectedString = parsedJSONFixtureContent; + } else if ( process.env.GENERATE_MISSING_FIXTURES ) { + parserOutputExpectedString = JSON.stringify( + parserOutputActual, + null, + 4 + ) + '\n'; + writeBlockFixtureParsedJSON( basename, parserOutputExpectedString ); + } else { + throw new Error( + `Missing fixture file: ${ parsedJSONFixtureFileName }` + ); } const parserOutputExpected = JSON.parse( parserOutputExpectedString ); @@ -109,18 +94,18 @@ describe( 'full post content fixture', () => { ).toEqual( parserOutputExpected ); } catch ( err ) { throw new Error( format( - "File '%s.parsed.json' does not match expected value:\n\n%s", - f, + "File '%s' does not match expected value:\n\n%s", + parsedJSONFixtureFileName, err.message ) ); } - const blocksActual = parse( content ); + const blocksActual = parse( htmlFixtureContent ); // Block validation may log errors during deprecation migration, // unless explicitly handled from a valid block via isEligible. - // Match on filename for deprecated blocks fixtures to allow. - const isDeprecated = /__deprecated([-_]|$)/.test( f ); + // Match on basename for deprecated blocks fixtures to allow. + const isDeprecated = /__deprecated([-_]|$)/.test( basename ); if ( isDeprecated ) { /* eslint-disable no-console */ console.warn.mockReset(); @@ -129,21 +114,26 @@ describe( 'full post content fixture', () => { } const blocksActualNormalized = normalizeParsedBlocks( blocksActual ); - let blocksExpectedString = readFixtureFile( f + '.json' ); - - if ( ! blocksExpectedString ) { - if ( process.env.GENERATE_MISSING_FIXTURES ) { - blocksExpectedString = JSON.stringify( - blocksActualNormalized, - null, - 4 - ) + '\n'; - writeFixtureFile( f + '.json', blocksExpectedString ); - } else { - throw new Error( - 'Missing fixture file: ' + f + '.json' - ); - } + const { + filename: jsonFixtureFileName, + file: jsonFixtureContent, + } = getBlockFixtureJSON( basename ); + + let blocksExpectedString; + + if ( jsonFixtureContent ) { + blocksExpectedString = jsonFixtureContent; + } else if ( process.env.GENERATE_MISSING_FIXTURES ) { + blocksExpectedString = JSON.stringify( + blocksActualNormalized, + null, + 4 + ) + '\n'; + writeBlockFixtureJSON( basename, blocksExpectedString ); + } else { + throw new Error( + `Missing fixture file: ${ jsonFixtureFileName }` + ); } const blocksExpected = JSON.parse( blocksExpectedString ); @@ -153,8 +143,8 @@ describe( 'full post content fixture', () => { ).toEqual( blocksExpected ); } catch ( err ) { throw new Error( format( - "File '%s.json' does not match expected value:\n\n%s", - f, + "File '%s' does not match expected value:\n\n%s", + jsonFixtureFileName, err.message ) ); } @@ -162,25 +152,29 @@ describe( 'full post content fixture', () => { // `serialize` doesn't have a trailing newline, but the fixture // files should. const serializedActual = serialize( blocksActual ) + '\n'; - let serializedExpected = readFixtureFile( f + '.serialized.html' ); - - if ( ! serializedExpected ) { - if ( process.env.GENERATE_MISSING_FIXTURES ) { - serializedExpected = serializedActual; - writeFixtureFile( f + '.serialized.html', serializedExpected ); - } else { - throw new Error( - 'Missing fixture file: ' + f + '.serialized.html' - ); - } + const { + filename: serializedHTMLFileName, + file: serializedHTMLFixtureContent, + } = getBlockFixtureSerializedHTML( basename ); + + let serializedExpected; + if ( serializedHTMLFixtureContent ) { + serializedExpected = serializedHTMLFixtureContent; + } else if ( process.env.GENERATE_MISSING_FIXTURES ) { + serializedExpected = serializedActual; + writeBlockFixtureSerializedHTML( basename, serializedExpected ); + } else { + throw new Error( + `Missing fixture file: ${ serializedHTMLFileName }` + ); } try { expect( serializedActual ).toEqual( serializedExpected ); } catch ( err ) { throw new Error( format( - "File '%s.serialized.html' does not match expected value:\n\n%s", - f, + "File '%s' does not match expected value:\n\n%s", + serializedHTMLFileName, err.message ) ); } @@ -197,25 +191,29 @@ describe( 'full post content fixture', () => { // The `core/template` is not worth testing here because it's never saved, it's covered better in e2e tests. .filter( ( name ) => name.indexOf( 'core-embed' ) !== 0 && name !== 'core/template' ) .forEach( ( name ) => { - const nameToFilename = name.replace( /\//g, '__' ); - const foundFixtures = fileBasenames + const nameToFilename = blockNameToFixtureBasename( name ); + const foundFixtures = blockBasenames .filter( ( basename ) => ( basename === nameToFilename || startsWith( basename, nameToFilename + '__' ) ) ) .map( ( basename ) => { - // The file that contains the input HTML for this test. - const inputFilename = basename + '.html'; + const { + filename: htmlFixtureFileName, + } = getBlockFixtureHTML( basename ); + const { + file: jsonFixtureContent, + } = getBlockFixtureJSON( basename ); // The parser output for this test. For missing files, // JSON.parse( null ) === null. const parserOutput = JSON.parse( - readFixtureFile( basename + '.json' ) + jsonFixtureContent, ); // The name of the first block that this fixture file // contains (if any). const firstBlock = get( parserOutput, [ '0', 'name' ], null ); return { - filename: inputFilename, + filename: htmlFixtureFileName, parserOutput, firstBlock, };