Skip to content

Testing instructions for critical flows

Sumit Bagthariya edited this page Aug 12, 2024 · 7 revisions

Preconditions:

  • WordPress installation with Classic Editor activated
  • Convert to Blocks plugin installed and activated
  • A post with content created in Classic Editor

Can activate the plugin without any error

Test Steps

  1. Download the Plugin zip from the Github
  2. Install the plugin zip in the Plugin Uploader screen of the store

Expected Result:

The plugin should be installed and activated without any error or trouble.


Convert to Block

Test steps:

Description Check that Convert to Blocks transforms classic editor content into Gutenberg blocks

Test steps

  1. Log in to the WordPress admin dashboard.
  2. Create a new post in the classic editor

Expected result

  1. The Classic Editor content should be automatically transformed into corresponding Gutenberg blocks.
  2. The visual representation of the content should remain consistent with the original Classic Editor format.

Verify Frontend Display of Converted Gutenberg Blocks

Verifies that content converted from Classic Editor to Gutenberg blocks displays correctly on the frontend.

Test steps

  1. Log in to the WordPress admin dashboard.
  2. Create a new post in the classic editor

Expected result

  1. The converted Gutenberg blocks are rendered correctly on the frontend.
  2. The content displayed matches the content in the post editor.
  3. No layout or formatting issues are observed.

Verify admin side after transforming to Gutenberg blocks

Test steps:

  1. Log in to the WordPress admin dashboard.
  2. Navigate to the Posts section.
  3. Select a post with content created in the Classic Editor.
  4. Click on the "Edit" button to open the post in the editor.
  5. Observe the post content.
  6. Make a change to the post content (e.g., add a new paragraph, modify existing text).
  7. Click the "Update" button to save the post.

Expected Result:

  1. The Classic Editor content is automatically converted to Gutenberg blocks when the post is opened for editing.
  2. The editor displays the content as editable Gutenberg blocks.
  3. The changes made to the post are reflected in the Gutenberg block structure.

Clone this wiki locally