Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com

Home Page:https://github.com/Automattic/wp-calypso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Planning: converting all the simple site editor tests to use Gutenberg Blocks

alisterscott opened this issue · comments

Customers with simple sites can currently opt-in their site to use Gutenberg which is a re-skinned wp-admin editor directly linked from Calypso

This is an issue to plan and track progress of this work as it's quite large to ensure all our editor tests work on Gutenberg for simple sites.

We need to keep the existing editor tests for now until 100% of users are using Gutenberg and the Calypso editor is removed completely.

I will break this down into steps which we can split across @Automattic/flowpatrol

Gutenberg in Calypso

  • Add posts spec and convert most of them @alisterscott
  • Add pages spec and convert most @JavonDavis
  • Add Simple Payment Block test - available in wpcalypso @Stojdza
  • Add Contact Form Block test - available in wpcalypso @JavonDavis

Blocked

cc @gwwar

I have created the test site, the non-converted spec files, and converted a single spec to use Gutenber in #1621

Post editor in Gutenberg has been marked as a canary: #1623

Payment button block doesn't seem to be out there at this point

Payment button block doesn't seem to be out there at this point

I think Payment Button and Contact Forms are still WIP with Jetpack

Investigate tags not working sometimes

Opened an issue here for what I think was the cause -> Automattic/wp-calypso#28771 I'm going to say the tests pass because I updated steps to click the Save Draft button before proceeding.

Private post mostly done in #1651

See #1656 which converts most of the posts specs to run against Gutenberg in Calypso

@JavonDavis / @Stojdza I've listed three more items for Gutenberg in Calypso including the Simple Payments and Contact forms - feel free to work on any of these

Noting that although Tiled gallery and Related posts block might be visible in Calypso-Gutenberg (behind the feature flag), they're not considered quite ready yet.

These should be "ready" (via p1HpG7-5V3-p2):

  • Publicize
  • Simple payments
  • Forms
  • Maps
  • Markdown

...although Maps is missing from Calypso currently.
"Ready" in quotes because while they're ready in Jetpack, there are probably some rough corners in Calypso for us to fix in the next couple weeks since we've been mostly testing with wp-admin.

Even just having a test that ensures these blocks are not fatalling Calypso would be ace, though.

Add Contact Form Block test

Investigating an issue I'm having with the Contact Form Block -> #1640 (comment)

Add Contact Form Block test

Investigating an issue I'm having with the Contact Form Block -> #1640 (comment)

This is still blocked and not ready on wpcom yet

Even just having a test that ensures these blocks are not fatalling Calypso would be ace, though.

Good idea @simison - we've already added some tests for these blocks as they are

I've started a "related posts" test but it doesn't appear on the front end when the block is published - I will investigate why

#1662

I've started a "related posts" test but it doesn't appear on the front end when the block is published

That's expected — anything outside the "ready" list, namely related posts and tiled galleries are showing up in Calypso Gutenberg currently but cannot be considered ready at all. Related posts block is still missing the backend.

I'll try to make sure you get heads up when these are ready for testing.

This one is done! 🎉