From 91a83e7e12b1fd1725f15ec648e41179fbb278b9 Mon Sep 17 00:00:00 2001 From: Philipp Walter Date: Mon, 4 Sep 2023 14:15:20 +0200 Subject: [PATCH] test(widgets): hide price chart for e2e tests --- src/components/PriceChart.tsx | 86 +++++++++++++++++------------------ 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/src/components/PriceChart.tsx b/src/components/PriceChart.tsx index 09caca3ed..95ee87245 100644 --- a/src/components/PriceChart.tsx +++ b/src/components/PriceChart.tsx @@ -103,42 +103,44 @@ export const Chart = ({ return ( - - - - - - - - - }> - - + + + + + + + + }> + + + + + + {period && font && ( + - - - - {period && font && ( - - )} - + )} + + )} ); }; @@ -192,14 +194,12 @@ const PriceChart = ({ return ( - {!__E2E__ && ( - - )} + ); };