diff --git a/web/src/components/TestSpecForm/TestSpecForm.tsx b/web/src/components/TestSpecForm/TestSpecForm.tsx index 95c23577b9..0c8b28248c 100644 --- a/web/src/components/TestSpecForm/TestSpecForm.tsx +++ b/web/src/components/TestSpecForm/TestSpecForm.tsx @@ -83,7 +83,7 @@ const TestSpecForm = ({ assertions, }); } - }, [form, isEditing, name, selector]); + }, [assertions, form, isEditing, name, selector]); const selectorSuggestions = useAppSelector(TestSpecsSelectors.selectSelectorSuggestions); const prevSelector = useAppSelector(TestSpecsSelectors.selectPrevSelector);