You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Column Management Modal retains unapplied checkbox changes on Cancel #942
it('should retain columns on cancel', () => {
fireEvent.click(screen.getByText('Impact'));
fireEvent.click(screen.getByText('Cancel'));
expect(onClose).toHaveBeenCalled();
// applyColumns should NOT be called on cancel
expect(setColumns).not.toHaveBeenCalled();
});
Is this behavior intentional?
I would expect clicking Cancel (or closing the dialog) to discard any pending changes and restore the initial state. But maybe the original design was intentionally different?
Activity
rh-gvincent commentedon Jun 30, 2026
Looking at the test, I noticed this:
Is this behavior intentional?
I would expect clicking Cancel (or closing the dialog) to discard any pending changes and restore the initial state. But maybe the original design was intentionally different?