feat: add e2e tests for insights charts (#23777)
* feat: add e2e tests for insights ChartCard components - Test that all ChartCard components render with expected titles - Test graceful handling of TRPC call failures - Test ChartCard rendering for organization users - Wait for page load and TRPC calls before checking chart presence - Use text-based selectors to find ChartCard titles in h2 elements - Remove page.waitForTimeout() calls to comply with ESLint rules Co-Authored-By: [email protected] <[email protected]> * clean up e2e tests * fix titles * still render charts if no data --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
4 files changed
+38
-6
No files matched your search
@@ -45,6 +45,7 @@ export function PanelCard({
|
||||
|
||||
return (
|
||||
<div
|
||||
data-testid="panel-card"
|
||||
ref={animationParent}
|
||||
className={classNames(
|
||||
"bg-muted group relative flex w-full flex-col items-center rounded-2xl px-1",
|
||||
|
||||
Reference in new issue
Block a user