diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/index.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/index.js index cf63cd407..4f87a42c8 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/index.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/index.js @@ -162,11 +162,15 @@ const AlertGroup = ({ const mountRef = useRef(null); + const [fadeDone, setFadeDone] = useState(false); + return useObserver(() => (
setFadeDone(true)} >
", () => { .hasClass("components-animation-fade-appear-done") ).toBe(false); tree.setProps({}); + act(() => tree.find("RevealBase").at(0).props().onReveal()); + tree.update(); expect( tree .find("div.components-grid-alertgrid-alertgroup")