Skip to content

Commit 752423e

Browse files
committed
fix update span attribute assertion
1 parent f66be68 commit 752423e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/browser/features/component-lifecycle-spans.feature

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ Feature: Component lifecycle spans
88
When I wait to receive 1 trace
99
Then a span name equals "[ViewLoad/Component]Component"
1010
And a span name equals "[ViewLoadPhase/Mount]Component"
11+
And a span name equals "[ViewLoadPhase/Update]Component"
1112
And a span name equals "[ViewLoadPhase/Unmount]Component"
12-
And a span named "[ViewLoadPhase/Update]Component" contains the attributes:
13-
| attribute | type | value |
14-
| bugsnag.component.update.props | stringValue | count |
13+
# [ViewLoadPhase/Update]Component attributes
14+
And the trace payload field "resourceSpans.0.scopeSpans.0.spans.1" string array attribute "bugsnag.component.update.props" equals the array:
15+
| count |
1516

1617
@skip
1718
Scenario: Component lifecycle spans are instrumented with React Router

0 commit comments

Comments
 (0)