- Issue created by @jessebaker
- First commit to issue fork.
- Status changed to Needs review
6 months ago 9:03pm 6 June 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Added fix and tests on top of π Add tests for undo/redo Needs review
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@larowlan Does that mean you think we should not fix this bug until π Add tests for undo/redo Needs review is done, i.e. to use this issue to establish the first regression test?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
No not at all
We can cherry pick the fix if need be - Assigned to jessebaker
- Status changed to RTBC
6 months ago 10:41am 7 June 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@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 π
π
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
I made the new
vitest
CI job run immediately, which reduces the feedback loop for work on the UI to a minimum π₯³ - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@jessebaker Do we want
vitest
from here, or Cypress unit tests from π Add tests for undo/redo Needs review ? - Status changed to Needs review
6 months ago 10:58am 7 June 2024 -
jessebaker β
committed ba07dcc5 on 0.x
Issue #3452895 by jessebaker, Wim Leers, larowlan, hooroomoo: Undo/redo...
-
jessebaker β
committed ba07dcc5 on 0.x
- Status changed to Fixed
6 months ago 4:12pm 7 June 2024 - Status changed to Needs work
6 months ago 8:37pm 7 June 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Unfortunately 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
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Indeed. 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.
- Assigned to bnjmnm
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@bnjmnm is working on this π
- First commit to issue fork.
- Merge request !51#3452895: Cypress component and unit tests should run β (Merged) created by bnjmnm
- Status changed to Needs review
5 months ago 8:42pm 12 June 2024 - πΊπΈUnited States bnjmnm Ann Arbor, MI
cypress-component-and-unit-tests-should-run
branch is here to address the test setup -
jessebaker β
committed 0338812d on 0.x authored by
bnjmnm β
Issue #3452895 by bnjmnm, jessebaker, Wim Leers, larowlan, hooroomoo:...
-
jessebaker β
committed 0338812d on 0.x authored by
bnjmnm β
- Assigned to jessebaker
- Status changed to RTBC
5 months ago 1:35pm 19 June 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Aaaand 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:
Approving because I'm keen to see this merged - but I've left a couple of comments to keep in mind when take the testing further
Could you please create one or more new issues for your remarks, to ensure we do not forget about them? π
- Status changed to Fixed
5 months ago 1:33pm 25 June 2024 - Status changed to RTBC
5 months ago 1:34pm 25 June 2024 - Issue was unassigned.
- π¬π§United Kingdom jessebaker
I am still seeing the issue on loading the XB.
- Status changed to Fixed
5 months ago 3:16pm 5 July 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@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:
- one new issue for #27
- one new issue for " but I've left a couple of comments to keep in mind when take the testing further"
- π¬π§United Kingdom jessebaker
please create a new issue
Done:
1. https://www.drupal.org/project/experience_builder/issues/3459333 π Undo/redo - user can undo the loading of the initial state (regression) Needs work
2. https://www.drupal.org/project/experience_builder/issues/3456020 π Document Cypress test best practices (especially how to write reliable tests) Needs review Automatically closed - issue fixed for 2 weeks with no activity.