coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

WPEX 2237 - cypress test for gif migration

Open snovosel-godaddy opened this issue 1 year ago • 5 comments

Description

Create cypress test for GIF block migration

Screenshots

Types of changes

Tests

How has this been tested?

Acceptance criteria

Tests should be passing and sufficient

Checklist:

  • [x] My code is tested
  • [x] My code follows accessibility standards
  • [x] My code has proper inline documentation
  • [x] I've included any necessary tests
  • [x] I've included developer documentation
  • [x] I've added proper labels to this pull request

snovosel-godaddy avatar Aug 12 '22 09:08 snovosel-godaddy

Download coblocks.zip: https://output.circle-artifacts.com/output/job/fe4b0f90-d31f-4f2d-95e2-6ab72008dea9/artifacts/0/tmp/artifacts/coblocks-.zip

godaddy-wordpress-bot avatar Aug 12 '22 10:08 godaddy-wordpress-bot



Test summary

203 3 2 0


Run details

Project CoBlocks
Status Failed
Commit 3e400af7b9
Started Aug 12, 2022 10:04 AM
Ended Aug 12, 2022 10:09 AM
Duration 04:51 💡
OS Linux Ubuntu - 20.04
Browser Multiple

View run in Cypress Dashboard ➡️


Failures

Run group: e2e-chrome-wp-latest (Linux, Chrome )
src/extensions/lightbox-controls/test/lightbox-controls-gallery.cypress.js Failed
1 Test CoBlocks Lightbox Controls extension on core/gallery > Test core/gallery block extends with Lightbox Controls component.
src/blocks/gif/test/gif.cypress.js Failed
1 Test CoBlocks Gif Block > renders a paragraph block
Run group: e2e-firefox-wp-latest (Linux, Firefox )
src/blocks/gif/test/gif.cypress.js Failed
1 Test CoBlocks Gif Block > renders a paragraph block

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

cypress[bot] avatar Aug 12 '22 10:08 cypress[bot]

I also noticed that with this PR when you run npx cypress open it doesn't actually list any of the test spec files. On the master branch it's listing our spec files, but not on this PR. image

EvanHerman avatar Aug 16 '22 15:08 EvanHerman

I also noticed that with this PR when you run npx cypress open it doesn't actually list any of the test spec files. On the master branch it's listing our spec files, but not on this PR.

Evan this PR should be using Cypress 10 which changes a few things. I see in the screenshot that you seem to have an older version in node modules. Try running yarn again to download the latest version of Cypress.

AnthonyLedesma avatar Aug 16 '22 16:08 AnthonyLedesma