@localstack/appinspector-ui 1.0.82 → 1.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -10196,6 +10196,36 @@ var ResponsiveTimestampCell = (0, import_react35.memo)(({ date, locale }) => {
10196
10196
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: { width: "100%" }, children: formattedTime });
10197
10197
  });
10198
10198
 
10199
+ // src/constants/test-ids.ts
10200
+ var EVENT_DETAILS_TEST_ID = "event-details";
10201
+ var CLEAR_SPANS_TEST_ID = "clear-spans";
10202
+ var SPANS_DATA_GRID_TEST_ID = "spans-data-grid";
10203
+ var TRACE_GRAPH_TEST_ID = "trace-graph";
10204
+ var SPANS_LIST_PAGE_TEST_ID = "spans-list-page";
10205
+ var TRACE_GRAPH_PAGE_TEST_ID = "trace-graph-page";
10206
+ var VIEW_SPAN_DETAILS_TEST_ID = "view-span-details";
10207
+ var SPANS_DATA_GRID_ROW_TEST_ID = "spans-data-grid-row";
10208
+ var EVENT_DETAILS_SECTION_BASIC_INFORMATION_TEST_ID = "event-details-section-basic-information";
10209
+ var EVENT_DETAILS_SERVICE_NAME_TEST_ID = "event-details-service-name";
10210
+ var EVENT_DETAILS_OPERATION_NAME_TEST_ID = "event-details-operation-name";
10211
+ var EVENT_DETAILS_CLOSE_BUTTON_TEST_ID = "event-details-close-button";
10212
+ var EVENT_DETAILS_STATUS_TEST_ID = "event-details-status";
10213
+ var EVENT_DETAILS_RESOURCE_NAME_TEST_ID = "event-details-resource-name";
10214
+ var EVENT_DETAILS_RESOURCE_ARN_TEST_ID = "event-details-resource-arn";
10215
+ var EVENT_DETAILS_ACCOUNT_TEST_ID = "event-details-account";
10216
+ var EVENT_DETAILS_REGION_TEST_ID = "event-details-region";
10217
+ var EVENT_DETAILS_START_TIME_TEST_ID = "event-details-start-time";
10218
+ var EVENT_DETAILS_DURATION_TEST_ID = "event-details-duration";
10219
+ var EVENT_DETAILS_SPAN_ID_TEST_ID = "event-details-span-id";
10220
+ var EVENT_DETAILS_TRACE_ID_TEST_ID = "event-details-trace-id";
10221
+ var EVENT_DETAILS_REQUEST_ID_TEST_ID = "event-details-request-id";
10222
+ var EVENT_DETAILS_REQUEST_PAYLOAD = "event-details-request-payload";
10223
+ var EVENT_DETAILS_RESPONSE_PAYLOAD_TEST_ID = "event-details-response-payload";
10224
+ var EVENT_DETAILS_EXCEPTION_PAYLOAD_TEST_ID = "event-details-exception-payload";
10225
+ var SERVICE_NODE_TEST_ID = "service-node";
10226
+ var SERVICE_NODE_SERVICE_NAME_TEST_ID = "service-node-service-name";
10227
+ var SERVICE_NODE_OPERATION_NAME_TEST_ID = "service-node-operation-name";
10228
+
10199
10229
  // src/components/cells/service-cell.tsx
10200
10230
  var import_material3 = require("@mui/material");
10201
10231
  var import_react40 = require("react");
@@ -12646,6 +12676,7 @@ var ServiceCell = (0, import_react40.memo)(({
12646
12676
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
12647
12677
  import_material3.Typography,
12648
12678
  {
12679
+ "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID,
12649
12680
  sx: {
12650
12681
  borderBottomRightRadius: "15px",
12651
12682
  borderTopRightRadius: "15px",
@@ -12822,6 +12853,7 @@ var SpansDataGridRow = (0, import_react42.memo)(
12822
12853
  backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.to : newSpanBackgroundColor.dark.to
12823
12854
  },
12824
12855
  component: motion.tr,
12856
+ "data-testid": SPANS_DATA_GRID_ROW_TEST_ID,
12825
12857
  initial: {
12826
12858
  backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.from : newSpanBackgroundColor.dark.from
12827
12859
  },
@@ -12954,6 +12986,7 @@ var SpansDataGrid = ({
12954
12986
  return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Box, { sx: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
12955
12987
  import_material5.Button,
12956
12988
  {
12989
+ "data-testid": VIEW_SPAN_DETAILS_TEST_ID,
12957
12990
  onClick: () => {
12958
12991
  onSpanClick(props.row.original);
12959
12992
  },
@@ -13002,9 +13035,10 @@ var SpansDataGrid = ({
13002
13035
  control: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
13003
13036
  import_material5.Button,
13004
13037
  {
13038
+ "data-testid": CLEAR_SPANS_TEST_ID,
13005
13039
  onClick: onClearSpans,
13006
13040
  startIcon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material2.DeleteForeverOutlined, {}),
13007
- children: "Clear Spans"
13041
+ children: "Clear Events"
13008
13042
  }
13009
13043
  ),
13010
13044
  disabled: clearingSpans,
@@ -13089,7 +13123,7 @@ var SpansDataGrid = ({
13089
13123
  // src/components/spans-list/spans-list.tsx
13090
13124
  var import_jsx_runtime127 = require("react/jsx-runtime");
13091
13125
  var SpansList = (props) => {
13092
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material6.Box, { "data-testid": "spans-data-grid", sx: { display: "flex", flexDirection: "column", flexGrow: 1, gap: 2, width: "100%" }, children: [
13126
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material6.Box, { "data-testid": SPANS_DATA_GRID_TEST_ID, sx: { display: "flex", flexDirection: "column", flexGrow: 1, gap: 2, width: "100%" }, children: [
13093
13127
  props.fetchError && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
13094
13128
  import_material6.Alert,
13095
13129
  {
@@ -26502,7 +26536,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
26502
26536
  const exceptionPayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.exception"]);
26503
26537
  const hasPayloads = requestPayload !== void 0 || responsePayload !== void 0 || exceptionPayload !== void 0;
26504
26538
  const duration = selectedEvent.end_time_unix_nano ? ((BigInt(selectedEvent.end_time_unix_nano) - BigInt(selectedEvent.start_time_unix_nano)) / BigInt("1000000")).toString() : void 0;
26505
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { "data-testid": "event-details", sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
26539
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { "data-testid": EVENT_DETAILS_TEST_ID, sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
26506
26540
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(
26507
26541
  import_material15.Box,
26508
26542
  {
@@ -26517,48 +26551,48 @@ var EventDetails = ({ onClose, selectedEvent }) => {
26517
26551
  },
26518
26552
  children: [
26519
26553
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "h6", children: "Operation Details" }) }),
26520
- onClose && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.IconButton, { onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_icons_material9.Close, {}) })
26554
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.IconButton, { "data-testid": EVENT_DETAILS_CLOSE_BUTTON_TEST_ID, onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_icons_material9.Close, {}) })
26521
26555
  ]
26522
26556
  }
26523
26557
  ),
26524
26558
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Box, { sx: { flexGrow: 1, overflow: "auto", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Stack, { spacing: 2, children: [
26525
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(ToggleSection, { headline: "Basic Information", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Stack, { spacing: 1, children: [
26559
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(ToggleSection, { headline: "Basic Information", children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Stack, { "data-testid": EVENT_DETAILS_SECTION_BASIC_INFORMATION_TEST_ID, spacing: 1, children: [
26526
26560
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { sx: { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" }, children: [
26527
26561
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26528
26562
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Service" }),
26529
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.service_name })
26563
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_SERVICE_NAME_TEST_ID, variant: "body2", children: selectedEvent.service_name })
26530
26564
  ] }),
26531
26565
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26532
26566
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Operation" }),
26533
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.operation_name })
26567
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_OPERATION_NAME_TEST_ID, variant: "body2", children: selectedEvent.operation_name })
26534
26568
  ] })
26535
26569
  ] }),
26536
26570
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26537
26571
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource" }),
26538
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.resource_name })
26572
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_RESOURCE_NAME_TEST_ID, variant: "body2", children: selectedEvent.resource_name })
26539
26573
  ] }),
26540
26574
  Boolean(resourceArn) && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26541
26575
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource ARN" }),
26542
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: resourceArn })
26576
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_RESOURCE_ARN_TEST_ID, variant: "body2", children: resourceArn })
26543
26577
  ] }),
26544
26578
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "1.3fr 1fr" }, children: [
26545
26579
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26546
26580
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Account" }),
26547
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.account_id })
26581
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_ACCOUNT_TEST_ID, variant: "body2", children: selectedEvent.account_id })
26548
26582
  ] }),
26549
26583
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26550
26584
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Region" }),
26551
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.region })
26585
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_REGION_TEST_ID, variant: "body2", children: selectedEvent.region })
26552
26586
  ] })
26553
26587
  ] }),
26554
26588
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: duration === void 0 ? "1fr" : "1.3fr 1fr" }, children: [
26555
26589
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26556
26590
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Start Time" }),
26557
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: unixNanoToDate(selectedEvent.start_time_unix_nano)?.toISOString() })
26591
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_START_TIME_TEST_ID, variant: "body2", children: unixNanoToDate(selectedEvent.start_time_unix_nano)?.toISOString() })
26558
26592
  ] }),
26559
26593
  duration !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26560
26594
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Duration" }),
26561
- /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Typography, { variant: "body2", children: [
26595
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Typography, { "data-testid": EVENT_DETAILS_DURATION_TEST_ID, variant: "body2", children: [
26562
26596
  duration,
26563
26597
  "ms"
26564
26598
  ] })
@@ -26570,6 +26604,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
26570
26604
  import_material15.Chip,
26571
26605
  {
26572
26606
  color: selectedEvent.status_code === 2 ? "error" : selectedEvent.status_code === 1 ? "success" : "default",
26607
+ "data-testid": EVENT_DETAILS_STATUS_TEST_ID,
26573
26608
  label: selectedEvent.status_code === 2 ? "Error" : selectedEvent.status_code === 1 ? "OK" : "Unset",
26574
26609
  size: "small"
26575
26610
  }
@@ -26602,15 +26637,15 @@ var EventDetails = ({ onClose, selectedEvent }) => {
26602
26637
  children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Stack, { spacing: 2, children: [
26603
26638
  requestPayload !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26604
26639
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Request" }),
26605
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { value: requestPayload })
26640
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { testId: EVENT_DETAILS_REQUEST_PAYLOAD, value: requestPayload })
26606
26641
  ] }),
26607
26642
  responsePayload !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26608
26643
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Response" }),
26609
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { value: responsePayload })
26644
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { testId: EVENT_DETAILS_RESPONSE_PAYLOAD_TEST_ID, value: responsePayload })
26610
26645
  ] }),
26611
26646
  exceptionPayload !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26612
26647
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Exception" }),
26613
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { value: exceptionPayload })
26648
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { testId: EVENT_DETAILS_EXCEPTION_PAYLOAD_TEST_ID, value: exceptionPayload })
26614
26649
  ] })
26615
26650
  ] })
26616
26651
  }
@@ -26633,24 +26668,24 @@ var EventDetails = ({ onClose, selectedEvent }) => {
26633
26668
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(ToggleSection, { headline: "Advanced Information", initialOpen: false, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Stack, { spacing: 1, children: [
26634
26669
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26635
26670
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Span ID" }),
26636
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.span_id })
26671
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_SPAN_ID_TEST_ID, variant: "body2", children: selectedEvent.span_id })
26637
26672
  ] }),
26638
26673
  /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26639
26674
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Trace ID" }),
26640
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: selectedEvent.trace_id })
26675
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_TRACE_ID_TEST_ID, variant: "body2", children: selectedEvent.trace_id })
26641
26676
  ] }),
26642
26677
  requestId !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material15.Box, { children: [
26643
26678
  /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Request ID" }),
26644
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { variant: "body2", children: requestId })
26679
+ /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Typography, { "data-testid": EVENT_DETAILS_REQUEST_ID_TEST_ID, variant: "body2", children: requestId })
26645
26680
  ] }),
26646
26681
  eventGroups.info && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(EventDetail, { displayText: "Info", events: eventGroups.info, type: "info" })
26647
26682
  ] }) })
26648
26683
  ] }) })
26649
26684
  ] });
26650
26685
  };
26651
- var PayloadViewer = (0, import_react56.memo)(({ value }) => {
26686
+ var PayloadViewer = (0, import_react56.memo)(({ testId, value }) => {
26652
26687
  const theme = (0, import_material15.useTheme)();
26653
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Box, { sx: { backgroundColor: "background.default", borderRadius: 1, fontSize: 12, overflow: "auto", p: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
26688
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material15.Box, { "data-testid": testId, sx: { backgroundColor: "background.default", borderRadius: 1, fontSize: 12, overflow: "auto", p: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
26654
26689
  JsonViewer,
26655
26690
  {
26656
26691
  displayDataTypes: false,
@@ -26735,7 +26770,7 @@ var handleStyle = {
26735
26770
  };
26736
26771
  var ServiceNode = (0, import_react59.memo)(({ data, selected }) => {
26737
26772
  const hasErrors = (data.event.errors && data.event.errors.length > 0) ?? false;
26738
- return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_material17.Box, { sx: { maxWidth: 200 }, children: [
26773
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_material17.Box, { "data-testid": SERVICE_NODE_TEST_ID, sx: { maxWidth: 200 }, children: [
26739
26774
  /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(
26740
26775
  import_material17.Box,
26741
26776
  {
@@ -26798,6 +26833,7 @@ var ServiceNode = (0, import_react59.memo)(({ data, selected }) => {
26798
26833
  /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
26799
26834
  import_material17.Typography,
26800
26835
  {
26836
+ "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID,
26801
26837
  sx: {
26802
26838
  fontSize: "0.9rem",
26803
26839
  maxWidth: "100%",
@@ -26999,7 +27035,7 @@ var TraceGraph = ({
26999
27035
  /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(
27000
27036
  import_react62.ReactFlow,
27001
27037
  {
27002
- "data-testid": "trace-graph",
27038
+ "data-testid": TRACE_GRAPH_TEST_ID,
27003
27039
  edges,
27004
27040
  fitView: true,
27005
27041
  fitViewOptions: initialFocusEventId ? { maxZoom: 1, nodes: [{ id: initialFocusEventId }], padding: 0.2 } : void 0,
@@ -27081,7 +27117,7 @@ var TraceGraphView = ({
27081
27117
  return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(
27082
27118
  import_material20.Box,
27083
27119
  {
27084
- "data-testid": "trace-graph-page",
27120
+ "data-testid": TRACE_GRAPH_PAGE_TEST_ID,
27085
27121
  sx: {
27086
27122
  alignItems: "center",
27087
27123
  display: "flex",
@@ -27298,7 +27334,7 @@ var SpansListPage = () => {
27298
27334
  /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
27299
27335
  import_material21.Box,
27300
27336
  {
27301
- "data-testid": "spans-list-page",
27337
+ "data-testid": SPANS_LIST_PAGE_TEST_ID,
27302
27338
  sx: {
27303
27339
  alignItems: "center",
27304
27340
  display: "flex",