Skip to content

Commit 6de01d5

Browse files
author
Robert Bartoszewski
committed
Fixed E2E tests
1 parent 4ea0fab commit 6de01d5

File tree

10 files changed

+40
-40
lines changed

10 files changed

+40
-40
lines changed

features/default/attributes.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Feature: Spans with custom attributes
33
Scenario: Set attributes in a span
44
Given I run "SetAttributesScenario"
55
And I wait to receive at least 1 span
6-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
6+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
77
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
88
* a span field "name" equals "SetAttributesScenario"
99
* a span string attribute "a" equals "xyz"
@@ -20,7 +20,7 @@ Feature: Spans with custom attributes
2020
Scenario: Set attributes in a span with limits set
2121
Given I run "SetAttributesWithLimitsScenario"
2222
And I wait to receive at least 1 span
23-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
23+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
2424
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
2525
* a span field "name" equals "SetAttributesWithLimitsScenario"
2626
* a span string attribute "a" equals "1234567890*** 1 CHARS TRUNCATED"
@@ -32,7 +32,7 @@ Feature: Spans with custom attributes
3232
Scenario: Set attributes in a span with an attribute count limit set
3333
Given I run "SetAttributeCountLimitScenario"
3434
And I wait to receive at least 1 span
35-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
35+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
3636
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
3737
* a span field "name" equals "SetAttributeCountLimitScenario"
3838
* every span string attribute "a" does not exist

features/default/automatic/automatic_network.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Feature: Automatic network instrumentation spans
8686

8787
Scenario: Automatically start a network span that has a null URL
8888
Given I run "AutoInstrumentNetworkNullURLScenario"
89-
And I wait to receive at least 1 span
89+
And I wait to receive at least 2 spans
9090
Then the trace "Content-Type" header equals "application/json"
9191
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
9292
* every span field "parentSpanId" does not exist

features/default/callbacks.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Feature: Setting callbacks
33
Scenario: Set OnStart
44
Given I run "OnStartCallbackScenario"
55
And I wait for exactly 1 span
6-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
6+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
77
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
88
* a span field "name" equals "OnStartCallbackScenario"
99
* a span bool attribute "start_callback_1" is true
@@ -12,6 +12,6 @@ Feature: Setting callbacks
1212
Scenario: Set OnEnd
1313
Given I run "OnEndCallbackScenario"
1414
And I wait for exactly 1 span
15-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
15+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
1616
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
1717
* a span field "name" equals "OnEndCallbackScenario"

features/default/conditions.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Feature: Conditions
5555
Given I run "SpanConditionsSimpleConditionScenario"
5656
And I wait to receive at least 2 spans
5757
Then the trace "Content-Type" header equals "application/json"
58-
* the trace "Bugsnag-Span-Sampling" header equals "1:2"
58+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
5959
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
6060
* a span field "name" equals "SpanConditionsSimpleConditionScenarioSpan1"
6161
* a span field "name" equals "SpanConditionsSimpleConditionScenarioSpan2"
@@ -71,7 +71,7 @@ Feature: Conditions
7171
Given I run "SpanConditionsConditionTimedOutScenario"
7272
And I wait to receive at least 2 spans
7373
Then the trace "Content-Type" header equals "application/json"
74-
* the trace "Bugsnag-Span-Sampling" header equals "1:2"
74+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
7575
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
7676
* a span field "name" equals "SpanConditionsConditionTimedOutScenarioSpan1"
7777
* a span field "name" equals "SpanConditionsConditionTimedOutScenarioSpan2"
@@ -86,7 +86,7 @@ Feature: Conditions
8686
Given I run "SpanConditionsMultipleConditionsScenario"
8787
And I wait to receive at least 3 spans
8888
Then the trace "Content-Type" header equals "application/json"
89-
* the trace "Bugsnag-Span-Sampling" header equals "1:3"
89+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
9090
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
9191
* a span field "name" equals "SpanConditionsMultipleConditionsScenarioSpan1"
9292
* a span field "name" equals "SpanConditionsMultipleConditionsScenarioSpan2"
@@ -103,7 +103,7 @@ Feature: Conditions
103103
Given I run "SpanConditionsBlockedSpanScenario"
104104
And I wait to receive at least 1 span
105105
Then the trace "Content-Type" header equals "application/json"
106-
* the trace "Bugsnag-Span-Sampling" header equals "1:2"
106+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
107107
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
108108
* a span field "name" equals "SpanConditionsBlockedSpanScenarioSpan1"
109109
* a span field "name" equals "SpanConditionsBlockedSpanScenarioSpan2"

features/default/early_spans.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Feature: Early spans
2525
Given I run "ModifyEarlySpansScenario"
2626
And I wait for exactly 5 spans
2727
Then the trace "Content-Type" header equals "application/json"
28-
* the trace "Bugsnag-Span-Sampling" header equals "1:5"
28+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
2929
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
3030
* a span field "name" equals "[AppStart/iOSCold]"
3131
* a span field "name" equals "[AppStartPhase/App launching - pre main()]"

features/default/limits.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Checking payloads limits
66
And I wait for exactly 1 span
77
Then the trace "Content-Type" header equals "application/json"
88
* the trace "Bugsnag-Integrity" header matches the regex "^sha1 [A-Fa-f0-9]{40}$"
9-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
9+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
1010
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
1111
* the trace "Bugsnag-Uncompressed-Content-Length" header matches the regex "^[0-9]+$"
1212
* every span field "name" equals "MaxPayloadSizeScenario"

features/default/manual_spans.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Manual creation of spans
66
Given I set the HTTP status code for the next requests to 200,500,200,200
77
And I run "RetryScenario"
88
And I wait to receive at least 1 span
9-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
9+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
1010
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
1111
* a span field "name" equals "WillRetry"
1212
Then I discard the oldest trace
@@ -55,7 +55,7 @@ Feature: Manual creation of spans
5555
And I wait to receive at least 1 span
5656
Then the trace "Content-Type" header equals "application/json"
5757
* the trace "Bugsnag-Integrity" header matches the regex "^sha1 [A-Fa-f0-9]{40}$"
58-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
58+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
5959
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
6060
* every span field "name" equals "ManualSpanEndOnDestroyScenario"
6161
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -84,7 +84,7 @@ Feature: Manual creation of spans
8484
Scenario: Starting and ending a span before starting the SDK
8585
Given I run "ManualSpanBeforeStartScenario"
8686
And I wait to receive at least 1 span
87-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
87+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
8888
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
8989
* every span field "name" equals "BeforeStart"
9090
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -138,7 +138,7 @@ Feature: Manual creation of spans
138138
Scenario: Manually report a UIViewController load span
139139
Given I run "ManualUIViewLoadScenario"
140140
And I wait to receive at least 1 span
141-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
141+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
142142
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
143143
* every span field "name" equals "[ViewLoad/UIKit]/UIViewController"
144144
* every span string attribute "bugsnag.view.name" equals "UIViewController"
@@ -334,7 +334,7 @@ Feature: Manual creation of spans
334334
And I wait to receive at least 3 spans
335335
Then the trace "Content-Type" header equals "application/json"
336336
* the trace "Bugsnag-Integrity" header matches the regex "^sha1 [A-Fa-f0-9]{40}$"
337-
* the trace "Bugsnag-Span-Sampling" header equals "1:3"
337+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
338338
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
339339
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "ManualSpanWithContextParentNilScenario"
340340
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.1.name" equals "ManualSpanWithContextParentSet"

features/default/metrics/metrics_cpu.feature

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature: Spans with collected CPU metrics
1010
And I run the loaded scenario
1111
And I wait to receive at least 1 span
1212
Then the trace "Content-Type" header equals "application/json"
13-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
13+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
1414
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
1515
* a span field "name" equals "CPUMetricsScenarioDefaultSettingsCPUMetricsDisabled"
1616
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -41,7 +41,7 @@ Feature: Spans with collected CPU metrics
4141
And I run the loaded scenario
4242
And I wait to receive at least 1 span
4343
Then the trace "Content-Type" header equals "application/json"
44-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
44+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
4545
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
4646
* a span field "name" equals "CPUMetricsScenarioNoMetrics"
4747
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -72,7 +72,7 @@ Feature: Spans with collected CPU metrics
7272
And I run the loaded scenario
7373
And I wait to receive at least 1 span
7474
Then the trace "Content-Type" header equals "application/json"
75-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
75+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
7676
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
7777
* a span field "name" equals "CPUMetricsScenarioFirstClass"
7878
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -103,7 +103,7 @@ Feature: Spans with collected CPU metrics
103103
And I run the loaded scenario
104104
And I wait to receive at least 1 span
105105
Then the trace "Content-Type" header equals "application/json"
106-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
106+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
107107
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
108108
* a span field "name" equals "CPUMetricsScenarioNonFirstClass"
109109
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -135,7 +135,7 @@ Feature: Spans with collected CPU metrics
135135
And I run the loaded scenario
136136
And I wait to receive at least 1 span
137137
Then the trace "Content-Type" header equals "application/json"
138-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
138+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
139139
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
140140
* a span field "name" equals "CPUMetricsScenarioNonFirstClassWithMetrics"
141141
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -166,7 +166,7 @@ Feature: Spans with collected CPU metrics
166166
And I run the loaded scenario
167167
And I wait to receive at least 1 span
168168
Then the trace "Content-Type" header equals "application/json"
169-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
169+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
170170
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
171171
* a span field "name" equals "CPUMetricsScenarioLongerSpanDuration"
172172
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -197,7 +197,7 @@ Feature: Spans with collected CPU metrics
197197
And I run the loaded scenario
198198
And I wait to receive at least 1 span
199199
Then the trace "Content-Type" header equals "application/json"
200-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
200+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
201201
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
202202
* a span field "name" equals "CPUMetricsScenarioGenerateSpanLater"
203203
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -232,7 +232,7 @@ Feature: Spans with collected CPU metrics
232232
And I run the loaded scenario
233233
And I wait to receive at least 1 span
234234
Then the trace "Content-Type" header equals "application/json"
235-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
235+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
236236
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
237237
* a span field "name" equals "CPUMetricsScenarioMainThreadHeavyWork"
238238
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -265,7 +265,7 @@ Feature: Spans with collected CPU metrics
265265
And I run the loaded scenario
266266
And I wait to receive at least 1 span
267267
Then the trace "Content-Type" header equals "application/json"
268-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
268+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
269269
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
270270
* a span field "name" equals "CPUMetricsScenarioBgThreadHeavyWork"
271271
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"

features/default/metrics/metrics_frame.feature

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: Spans with collected frame metrics
44
Given I run "FrameMetricsNoSlowFramesScenario"
55
And I wait to receive at least 1 span
66
Then the trace "Content-Type" header equals "application/json"
7-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
7+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
88
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
99
* every span field "name" equals "FrameMetricsNoSlowFramesScenario"
1010
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -26,7 +26,7 @@ Feature: Spans with collected frame metrics
2626
And I run the loaded scenario
2727
And I wait to receive at least 1 span
2828
Then the trace "Content-Type" header equals "application/json"
29-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
29+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
3030
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
3131
* every span field "name" equals "RenderingMetricsScenarioNoSlow"
3232
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -49,7 +49,7 @@ Feature: Spans with collected frame metrics
4949
And I run the loaded scenario
5050
And I wait to receive at least 1 span
5151
Then the trace "Content-Type" header equals "application/json"
52-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
52+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
5353
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
5454
* every span field "name" equals "RenderingMetricsScenarioEarlyStart"
5555
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -66,7 +66,7 @@ Feature: Spans with collected frame metrics
6666
Given I run "FrameMetricsSlowFramesScenario"
6767
And I wait to receive at least 1 span
6868
Then the trace "Content-Type" header equals "application/json"
69-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
69+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
7070
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
7171
* every span field "name" equals "FrameMetricsSlowFramesScenario"
7272
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -83,7 +83,7 @@ Feature: Spans with collected frame metrics
8383
Given I run "FrameMetricsFronzenFramesScenario"
8484
And I wait to receive at least 3 spans
8585
Then the trace "Content-Type" header equals "application/json"
86-
* the trace "Bugsnag-Span-Sampling" header equals "1:3"
86+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
8787
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
8888
* a span field "name" equals "FrameMetricsFronzenFramesScenario"
8989
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -101,7 +101,7 @@ Feature: Spans with collected frame metrics
101101
Given I run "FrameMetricsAutoInstrumentRenderingOffScenario"
102102
And I wait to receive at least 1 span
103103
Then the trace "Content-Type" header equals "application/json"
104-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
104+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
105105
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
106106
* every span field "name" equals "FrameMetricsAutoInstrumentRenderingOffScenario"
107107
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -118,7 +118,7 @@ Feature: Spans with collected frame metrics
118118
Given I run "FrameMetricsSpanInstrumentRenderingOffScenario"
119119
And I wait to receive at least 1 span
120120
Then the trace "Content-Type" header equals "application/json"
121-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
121+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
122122
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
123123
* every span field "name" equals "FrameMetricsSpanInstrumentRenderingOffScenario"
124124
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"
@@ -135,7 +135,7 @@ Feature: Spans with collected frame metrics
135135
Given I run "FrameMetricsNonFirstClassSpanInstrumentRenderingOnScenario"
136136
And I wait to receive at least 1 span
137137
Then the trace "Content-Type" header equals "application/json"
138-
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
138+
* the trace "Bugsnag-Span-Sampling" header matches the regex "^1:\d{1,2}$"
139139
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
140140
* every span field "name" equals "FrameMetricsNonFirstClassSpanInstrumentRenderingOnScenario"
141141
* every span field "spanId" matches the regex "^[A-Fa-f0-9]{16}$"

0 commit comments

Comments
 (0)