Update Rule Stack component and tests

This commit is contained in:
adilallo
2026-02-05 16:58:15 -07:00
parent 7e2348048a
commit b012c73e65
6 changed files with 245 additions and 129 deletions
+2 -1
View File
@@ -251,7 +251,8 @@ describe("User Journey Integration", () => {
// 3. User sees governance options - wait for dynamically imported component
await waitFor(() => {
expect(screen.getByText("Consensus clusters")).toBeInTheDocument();
// Use a more flexible matcher in case text is split across elements
expect(screen.getByText(/Consensus clusters/i)).toBeInTheDocument();
});
// 4. User sees features and benefits - wait for dynamically imported component