Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

test: trace test is updated

Palash guptaa6da00f80194
diff --git a/frontend/cypress/CustomFunctions/uncaughtExpection.ts b/frontend/cypress/CustomFunctions/uncaughtExpection.ts
new file mode 100644
index 0000000000..341ddd8cee
--- /dev/null
+++ b/frontend/cypress/CustomFunctions/uncaughtExpection.ts
@@ -0,0 +1,14 @@
+const resizeObserverLoopErrRe = /ResizeObserver loop limit exceeded/;
+
+const unCaughtExpection = () => {
+ cy.on('uncaught:exception', (err) => {
+ if (resizeObserverLoopErrRe.test(err.message)) {
+ // returning false here prevents Cypress from
+ // failing the test
+ return false;
+ }
+ return true;
+ });
+};
+
+export default unCaughtExpection;
diff --git a/frontend/src/container/Trace/Graph/index.tsx b/frontend/src/container/Trace/Graph/index.tsx
index a91fe78930..efc8a9d137 100644
--- a/frontend/src/container/Trace/Graph/index.tsx
+++ b/frontend/src/container/Trace/Graph/index.tsx
@@ -40,7 +40,7 @@ const TraceGraph = () => {
return (
<Container>
- <Graph data={ChartData} name="traceGraphph" type="line" />
+ <Graph data={ChartData} name="traceGraph" type="line" />
</Container>
);
};
diff --git a/frontend/src/container/Trace/TraceGraphFilter/index.tsx b/frontend/src/container/Trace/TraceGraphFilter/index.tsx
index bd06764aad..e6aad7374a 100644
--- a/frontend/src/container/Trace/TraceGraphFilter/index.tsx
+++ b/frontend/src/container/Trace/TraceGraphFilter/index.tsx
@@ -56,6 +56,7 @@ const TraceGraphFilter = () => {
<SelectComponent
dropdownMatchSelectWidth
+ data-testid="selectedFunction"
value={functions.find((e) => selectedFunction === e.key)?.displayValue}
onChange={onClickSelectedFunctionHandler}
>
@@ -69,6 +70,7 @@ const TraceGraphFilter = () => {
<label>Group By</label>
<SelectComponent
dropdownMatchSelectWidth
+ data-testid="selectedGroupBy"
value={groupBy.find((e) => selectedGroupBy === e.key)?.displayValue}
onChange={onClickSelectedGroupByHandler}
>