Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLANET-7542: Remove from plugin the blocks that have been moved to the theme #2326

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

GP-Dan-Tovbein
Copy link
Contributor

@GP-Dan-Tovbein GP-Dan-Tovbein commented Jul 19, 2024

Ref: https://jira.greenpeace.org/browse/PLANET-7542

Description

Changed the initial scope for the ticket. The new requirement is to move all missing specs from plugin. Indeed migrations if they are needed.

I created a new directory test/blocks and include all block specs instead of the root directory which is how it's now added into the plugin.

You can see the list of blocks that were already moved into the theme as a part of the monorepo epic.

Testing

From dev, you can run npm run env:e2e
Or indivudally through npx playwright test tests/e2e/blocks/{{filename}}.spec.js

I've disabled the Planet4 - Gutenberg Blocks to make sure that all is properly working without it.

If the plugin is disabled (test instance):

24 failed 1 flaky 15 skipped 42 passed
24 failed 15 skipped 43 passed

Local dev test cases

If the plugin is disabled
33 failed 18 skipped 31 passed

If the plugin is enabled BUT keeping this piece of code and this other one.
33 failed 18 skipped 31 passed

If the plugin is enabled BUT removing this piece of code and this other one.
33 failed 18 skipped 31 passed

@GP-Dan-Tovbein GP-Dan-Tovbein self-assigned this Jul 19, 2024
@GP-Dan-Tovbein GP-Dan-Tovbein force-pushed the PLANET-7542_remove-blocks-moved-to-theme branch from 19e0afa to 2a83f79 Compare July 19, 2024 14:00
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 19, 2024
/unhold 8f33ef6c-11a9-48c0-bf50-68d9ef189c75
@planet-4
Copy link
Contributor

planet-4 commented Jul 19, 2024

Test instance is ready 🚀

🌑 umbriel | admin | blocks report | CircleCI | composer-local.json

⌚ 2024.07.23 18:32:24

planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 19, 2024
/unhold 69f47ccb-47dd-4c29-96eb-bb322bb3375f
- It includes all related files
@GP-Dan-Tovbein GP-Dan-Tovbein force-pushed the PLANET-7542_remove-blocks-moved-to-theme branch from 5407306 to aaf9bb6 Compare July 22, 2024 14:28
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 22, 2024
/unhold 174d8040-618d-427e-aaed-568c10795285
Update specs or migrations if required

Update text
@GP-Dan-Tovbein GP-Dan-Tovbein force-pushed the PLANET-7542_remove-blocks-moved-to-theme branch from aaf9bb6 to 8b4663a Compare July 22, 2024 14:32
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 22, 2024
/unhold bf30746e-1f26-45a2-98ed-9d8b2d7a62ba
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 22, 2024
/unhold b585bb2c-f72e-478f-a04b-704a14036d52
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 22, 2024
/unhold 45e99af0-8e8c-4e2d-81d0-c56665fd15e0
- Next step is to fix them warnings
- Include all related files
@GP-Dan-Tovbein GP-Dan-Tovbein force-pushed the PLANET-7542_remove-blocks-moved-to-theme branch from da0b6de to eab1397 Compare July 22, 2024 19:45
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 22, 2024
/unhold bef87847-0b4f-4d17-8df1-4bc6f36ff9f9
- Fix eslint files
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 23, 2024
/unhold 912b42cd-6471-476f-9633-48a73d6c4e57
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 23, 2024
/unhold d5eac0d0-3f54-4df1-a628-f847b6da4ae6
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 23, 2024
/unhold c3530768-1962-4c5d-a6f0-d14a802fcb31
planet-4 added a commit to greenpeace/planet4-test-umbriel that referenced this pull request Jul 23, 2024
/unhold ab146eab-6fea-4971-85ed-ea51601d41de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants