Skip to content

[chore] Fix a failing test not showing up in useDeleteWithUndoController#10818

Merged
djhi merged 1 commit intomasterfrom
fix-delete-with-undo-failing-test
Jul 4, 2025
Merged

[chore] Fix a failing test not showing up in useDeleteWithUndoController#10818
djhi merged 1 commit intomasterfrom
fix-delete-with-undo-failing-test

Conversation

@Madeorsk
Copy link
Contributor

@Madeorsk Madeorsk commented Jul 1, 2025

Problem

useDeleteWithUndoController had a test failing, but it wasn't showing up as the waitFor wasn't awaited.

Solution

await the waitFor and trigger the mutation so the test can pass.

How To Test

make test-unit

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • [ ] The PR includes one or several stories (if not possible, describe why)
  • [ ] The documentation is up to date

@Madeorsk Madeorsk force-pushed the fix-delete-with-undo-failing-test branch from abc51d8 to 5e4fa5b Compare July 1, 2025 14:42
@Madeorsk Madeorsk added the RFR Ready For Review label Jul 1, 2025
@djhi djhi changed the title Fix a failing test not showing up in useDeleteWithUndoController [choFix a failing test not showing up in useDeleteWithUndoController Jul 4, 2025
@djhi djhi changed the title [choFix a failing test not showing up in useDeleteWithUndoController [chore] Fix a failing test not showing up in useDeleteWithUndoController Jul 4, 2025
@djhi djhi added this to the 5.9.2 milestone Jul 4, 2025
@djhi djhi merged commit 73c818b into master Jul 4, 2025
15 checks passed
@djhi djhi deleted the fix-delete-with-undo-failing-test branch July 4, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Development

Successfully merging this pull request may close these issues.

2 participants