Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5301

Add JS acceptance tests for Articles block

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Released
    • Icon: Should have Should have
    • 2.40.0
    • None
    • 1
    • Block: Articles, Testing
    • Sprint #140, Sprint #141, Sprint #142, Sprint #143, Sprint #144

      After converting the block to WYSIWYG (https://jira.greenpeace.org/browse/PLANET-4801), the corresponding PHP acceptance tests have been removed and we need to rewrite them in JS since the block is now rendered in JSX. 

      This PR can serve as example: https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/pull/287

      Include the "Load More" scenario in this test, PLANET-5310

      Also check for correct thumbnail behavior https://planet4.greenpeace.org/posts-vs-pages/posts/#featured-image-thumbnail

            sdeshmuk Sagar Deshmukh
            mleray Maud Leray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: