coblocks
coblocks copied to clipboard
WPEX 2237 - cypress test for gif migration
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
Download coblocks.zip: https://output.circle-artifacts.com/output/job/fe4b0f90-d31f-4f2d-95e2-6ab72008dea9/artifacts/0/tmp/artifacts/coblocks-.zip
Code Coverage: 95.54% 💚
🗂 Folder Coverage
src/blocks/accordion/ 100.00% ✅ src/blocks/accordion/accordion-item/ 100.00% ✅ src/blocks/buttons/ 100.00% ✅ src/blocks/click-to-tweet/ 100.00% ✅ src/blocks/counter/ 100.00% ✅ src/blocks/events/ 96.43% 💚 src/blocks/events/event-item/ 100.00% ✅ src/blocks/faq/ 100.00% ✅ src/blocks/faq/faq-item/ 100.00% ✅ src/blocks/form/fields/checkbox/ 100.00% ✅ src/blocks/form/fields/date/ 100.00% ✅ src/blocks/form/fields/hidden/ 100.00% ✅ src/blocks/form/fields/name/ 100.00% ✅ src/blocks/form/fields/phone/ 100.00% ✅ src/blocks/form/fields/radio/ 100.00% ✅ src/blocks/form/fields/select/ 100.00% ✅ src/blocks/form/fields/text/ 100.00% ✅ src/blocks/form/fields/textarea/ 100.00% ✅ src/blocks/form/fields/website/ 100.00% ✅ src/blocks/gallery-carousel/ 96.43% 💚 src/blocks/gist/ 100.00% ✅ src/blocks/logos/ 100.00% ✅ src/blocks/map/ 100.00% ✅ src/blocks/opentable/ 100.00% ✅ src/blocks/post-carousel/ 100.00% ✅ src/blocks/shape-divider/ 100.00% ✅ src/blocks/share/ 81.25% 💚 src/blocks/social-profiles/ 79.64% 💛 src/blocks/testimonials/ 87.50% 💚 src/blocks/testimonials/testimonial/ 100.00% ✅
From Circle CI build 58733
Test summary
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 ![]() |
1 ![]() |
|
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 ![]() |
1 ![]() |
|
1 | Test CoBlocks Gif Block > renders a paragraph block |
![]() |
|
Run group: e2e-firefox-wp-latest (Linux, Firefox ![]() |
|||
![]() |
src/blocks/gif/test/gif.cypress.js ![]() |
1 ![]() |
|
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
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.
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.