@@ -116,7 +116,7 @@ const RouteComponent = () => {
116116 value = { currentGroup . id }
117117 onValueChange = { ( id ) => changeGroup ( currentUser ! . groups . find ( ( group ) => group . id === id ) ! ) ! }
118118 >
119- < Select . Trigger className = "w-full md:w-[180px]" >
119+ < Select . Trigger className = "w-full md:w-[180px]" data-testid = "dashboard-group-select" >
120120 < Select . Value />
121121 </ Select . Trigger >
122122 < Select . Content >
@@ -131,9 +131,9 @@ const RouteComponent = () => {
131131 </ Select >
132132 ) }
133133 </ div >
134- < div className = "body-font" >
134+ < div className = "body-font" data-testid = "dashboard-statistics" >
135135 < div className = "grid grid-cols-1 gap-6 text-center lg:grid-cols-2 xl:grid-cols-4" >
136- < div className = "group transform transition-all duration-300 hover:scale-105" >
136+ < div className = "group transform transition-all duration-300 hover:scale-105" data-testid = "statistic-users" >
137137 < StatisticCard
138138 icon = {
139139 < UsersIcon className = "h-12 w-12 text-blue-600 transition-transform duration-300 group-hover:scale-110 dark:text-blue-400" />
@@ -145,7 +145,10 @@ const RouteComponent = () => {
145145 value = { summaryQuery . data . counts . users }
146146 />
147147 </ div >
148- < div className = "group transform transition-all duration-300 hover:scale-105" >
148+ < div
149+ className = "group transform transition-all duration-300 hover:scale-105"
150+ data-testid = "statistic-subjects"
151+ >
149152 < StatisticCard
150153 icon = {
151154 < UserIcon className = "h-12 w-12 text-emerald-600 transition-transform duration-300 group-hover:scale-110 dark:text-emerald-400" />
@@ -157,7 +160,10 @@ const RouteComponent = () => {
157160 value = { summaryQuery . data . counts . subjects }
158161 />
159162 </ div >
160- < div className = "group transform transition-all duration-300 hover:scale-105" >
163+ < div
164+ className = "group transform transition-all duration-300 hover:scale-105"
165+ data-testid = "statistic-instruments"
166+ >
161167 < StatisticCard
162168 icon = {
163169 < ClipboardDocumentIcon className = "h-12 w-12 text-amber-600 transition-transform duration-300 group-hover:scale-110 dark:text-amber-400" />
@@ -169,7 +175,10 @@ const RouteComponent = () => {
169175 value = { summaryQuery . data . counts . instruments }
170176 />
171177 </ div >
172- < div className = "group transform transition-all duration-300 hover:scale-105" >
178+ < div
179+ className = "group transform transition-all duration-300 hover:scale-105"
180+ data-testid = "statistic-records"
181+ >
173182 < StatisticCard
174183 icon = {
175184 < DocumentTextIcon className = "h-12 w-12 text-purple-600 transition-transform duration-300 group-hover:scale-110 dark:text-purple-400" />
@@ -184,7 +193,10 @@ const RouteComponent = () => {
184193 </ div >
185194 </ div >
186195 < div className = "grid grid-cols-1 gap-8 lg:grid-cols-2" >
187- < div className = "group rounded-2xl border border-slate-200/60 bg-white/90 shadow-xl backdrop-blur-sm transition-all duration-300 hover:border-blue-300/60 hover:shadow-2xl dark:border-slate-700/60 dark:bg-slate-800/90 dark:hover:border-blue-600/60" >
196+ < div
197+ className = "group rounded-2xl border border-slate-200/60 bg-white/90 shadow-xl backdrop-blur-sm transition-all duration-300 hover:border-blue-300/60 hover:shadow-2xl dark:border-slate-700/60 dark:bg-slate-800/90 dark:hover:border-blue-600/60"
198+ data-testid = "dashboard-chart-records-sessions"
199+ >
188200 < div className = "p-8 pb-4" >
189201 < div className = "flex items-center gap-4" >
190202 < div className = "rounded-xl bg-gradient-to-br from-blue-500/20 to-indigo-600/20 p-3 transition-all duration-300 group-hover:from-blue-500/30 group-hover:to-indigo-600/30" >
@@ -301,7 +313,10 @@ const RouteComponent = () => {
301313 </ ResponsiveContainer >
302314 </ div >
303315 </ div >
304- < div className = "group rounded-2xl border border-slate-200/60 bg-white/90 shadow-xl backdrop-blur-sm transition-all duration-300 hover:border-amber-300/60 hover:shadow-2xl dark:border-slate-700/60 dark:bg-slate-800/90 dark:hover:border-amber-600/60" >
316+ < div
317+ className = "group rounded-2xl border border-slate-200/60 bg-white/90 shadow-xl backdrop-blur-sm transition-all duration-300 hover:border-amber-300/60 hover:shadow-2xl dark:border-slate-700/60 dark:bg-slate-800/90 dark:hover:border-amber-600/60"
318+ data-testid = "dashboard-chart-subjects-growth"
319+ >
305320 < div className = "p-8 pb-4" >
306321 < div className = "flex items-center gap-4" >
307322 < div className = "rounded-xl bg-gradient-to-br from-amber-500/20 to-orange-600/20 p-3 transition-all duration-300 group-hover:from-amber-500/30 group-hover:to-orange-600/30" >
0 commit comments