diff --git a/kraken-app/kraken-app-portal/src/__test__/pages/Homepage/components/ActivityDiagrams.test.tsx b/kraken-app/kraken-app-portal/src/__test__/pages/Homepage/components/ActivityDiagrams.test.tsx index c072d924..673b8d14 100644 --- a/kraken-app/kraken-app-portal/src/__test__/pages/Homepage/components/ActivityDiagrams.test.tsx +++ b/kraken-app/kraken-app-portal/src/__test__/pages/Homepage/components/ActivityDiagrams.test.tsx @@ -53,9 +53,8 @@ test("ActivityDiagrams test with data", () => { ); expect(container).toBeInTheDocument(); - const recentButton = getByTestId('recent-7-days'); - fireEvent.change(recentButton, { target: { value: 90 } }); - fireEvent.blur(recentButton); + const recentButton = getByTestId('recent-90-days'); + fireEvent.click(recentButton); }); test("ActivityDiagrams test with no data", () => { diff --git a/kraken-app/kraken-app-portal/src/pages/HomePage/components/ActivityDiagrams/index.tsx b/kraken-app/kraken-app-portal/src/pages/HomePage/components/ActivityDiagrams/index.tsx index 40be7424..6cc0bf35 100644 --- a/kraken-app/kraken-app-portal/src/pages/HomePage/components/ActivityDiagrams/index.tsx +++ b/kraken-app/kraken-app-portal/src/pages/HomePage/components/ActivityDiagrams/index.tsx @@ -123,8 +123,8 @@ const ActivityDiagrams = ({ envs }: Props) => { - Recent 7 days - Recent 3 months + Recent 7 days + Recent 3 months