Closed (fixed)
Project:
Experience Builder
Component:
Page builder
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jun 2024 at 08:34 UTC
Updated:
22 Jul 2024 at 07:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
jessebaker commentedComment #5
larowlanAdded fix and tests on top of #3452781: Add tests for undo/redo
Comment #6
wim leers@larowlan Does that mean you think we should not fix this bug until #3452781: Add tests for undo/redo is done, i.e. to use this issue to establish the first regression test?
Comment #7
larowlanNo not at all
We can cherry pick the fix if need be
Comment #8
wim leers@larowlan 👍
Oh WAIT THIS IS ALREADY ADDING A UNIT TEST! 🤩
I had missed that work already happened on the MR, and that @larowlan already wrote the test and added it to CI 😄
👏
Comment #9
wim leersI made the new
vitestCI job run immediately, which reduces the feedback loop for work on the UI to a minimum 🥳Comment #10
wim leers@jessebaker Do we want
vitestfrom here, or Cypress unit tests from #3452781: Add tests for undo/redo?Comment #11
wim leersPer #10.
Comment #15
jessebaker commentedComment #16
larowlanUnfortunately the added Cypress test doesn't seem to be running, there's no mention of layout slice in the CI output that I can see
Comment #17
wim leersIndeed. I spotted the same on Friday, and @jessebaker & @bnjmnm told me they were on it. I'm sure they'll share some news later today.
Comment #19
wim leers@bnjmnm is working on this 👍
Comment #22
bnjmnmcypress-component-and-unit-tests-should-runbranch is here to address the test setupComment #24
wim leersAaaand now Cypress unit + functional tests are running on GitLab CI: https://git.drupalcode.org/project/experience_builder/-/jobs/1900255 — thanks to @jessebaker for reviewing + merging, but HUGE thanks to @bnjmnm for getting it to this point!
@jessebaker:
Could you please create one or more new issues for your remarks, to ensure we do not forget about them? 🙏
Comment #25
jessebaker commentedComment #26
jessebaker commentedComment #27
jessebaker commentedI am still seeing the issue on loading the XB.
Comment #28
wim leers@jessebaker: please create a new issue, otherwise this issue keeps growing in length (number of comments) and MRs (already two merged over the course of multiple weeks) and hence keeps growing in confusion.
So:
Comment #29
jessebaker commentedDone:
1. https://www.drupal.org/project/experience_builder/issues/3459333
2. https://www.drupal.org/project/experience_builder/issues/3456020
Comment #30
wim leersThanks!