@@ -5,7 +5,7 @@ Feature: Automatic instrumentation spans
55
66 Scenario : AutoInstrumentAppStartsScenario
77 Given I run "AutoInstrumentAppStartsScenario"
8- And I wait for 4 spans
8+ And I wait to receive at least 4 spans
99 Then the trace "Content-Type" header equals "application/json"
1010 * the trace "Bugsnag-Span-Sampling" header equals "1:4"
1111 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -30,7 +30,7 @@ Feature: Automatic instrumentation spans
3030
3131 Scenario : AutoInstrumentNavigationBasicScenario
3232 Given I run "AutoInstrumentNavigationBasicScenario"
33- And I wait for 1 span
33+ And I wait to receive at least 1 span
3434 Then the trace "Content-Type" header equals "application/json"
3535 * the trace "Bugsnag-Span-Sampling" header equals "1:1"
3636 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -51,7 +51,7 @@ Feature: Automatic instrumentation spans
5151 And I wait for 5 seconds
5252 * no span named "[Navigation]basic_defer_navigation_scenario" exists
5353 And I invoke "step2"
54- Then I wait for 1 span
54+ Then I wait to receive at least 1 span
5555 Then the trace "Content-Type" header equals "application/json"
5656 * the trace "Bugsnag-Span-Sampling" header equals "1:1"
5757 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -77,7 +77,7 @@ Feature: Automatic instrumentation spans
7777 And I wait for 3 seconds
7878 * no span named "[Navigation]complex_defer_navigation_scenario" exists
7979 Then I invoke "step4"
80- And I wait for 1 span
80+ And I wait to receive at least 1 span
8181 Then the trace "Content-Type" header equals "application/json"
8282 * the trace "Bugsnag-Span-Sampling" header equals "1:1"
8383 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -97,7 +97,7 @@ Feature: Automatic instrumentation spans
9797 And I wait for 3 seconds
9898 * no span named "[Navigation]nested_defer_navigation_scenario_parent" exists
9999 Then I invoke "step2"
100- And I wait for 2 spans
100+ And I wait to receive at least 2 spans
101101 * a span field "name" equals "[Navigation]nested_defer_navigation_scenario_parent"
102102 * a span string attribute "bugsnag.navigation.route" equals "nested_defer_navigation_scenario_parent"
103103 * a span string attribute "bugsnag.navigation.triggered_by" equals "push"
@@ -111,15 +111,15 @@ Feature: Automatic instrumentation spans
111111 * a span string attribute "bugsnag.navigation.previous_route" equals "/"
112112 * a span string attribute "bugsnag.navigation.navigator" equals "nested_scenario_child_navigator"
113113 Then I invoke "step3"
114- And I wait for 3 spans
114+ And I wait to receive at least 3 spans
115115 * a span field "name" equals "[Navigation]nested_scenario_child_navigator/nested_scenario_child_route_2"
116116 * a span string attribute "bugsnag.navigation.route" equals "nested_scenario_child_route_2"
117117 * a span string attribute "bugsnag.navigation.triggered_by" equals "push"
118118 * a span string attribute "bugsnag.navigation.ended_by" equals "frame_render"
119119 * a span string attribute "bugsnag.navigation.previous_route" equals "nested_scenario_child_route_initial"
120120 * a span string attribute "bugsnag.navigation.navigator" equals "nested_scenario_child_navigator"
121121 Then I invoke "step4"
122- And I wait for 4 span
122+ And I wait to receive at least 4 spans
123123 Then the trace "Content-Type" header equals "application/json"
124124 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
125125 * a span field "name" equals "[Navigation]nested_scenario_child_navigator/nested_scenario_child_route_3"
@@ -136,14 +136,14 @@ Feature: Automatic instrumentation spans
136136
137137 Scenario : AutoInstrumentNavigationPushAndPopScenario
138138 Given I run "AutoInstrumentNavigationPushAndPopScenario"
139- And I wait for 1 span
139+ And I wait to receive at least 1 span
140140 * a span field "name" equals "[Navigation]push_and_pop_scenario"
141141 * a span string attribute "bugsnag.navigation.route" equals "push_and_pop_scenario"
142142 * a span string attribute "bugsnag.navigation.triggered_by" equals "push"
143143 * a span string attribute "bugsnag.navigation.ended_by" equals "frame_render"
144144 * a span string attribute "bugsnag.navigation.previous_route" equals "/"
145145 And I invoke "step2"
146- Then I wait for 2 spans
146+ Then I wait to receive at least 2 spans
147147 Then the trace "Content-Type" header equals "application/json"
148148 * the trace "Bugsnag-Span-Sampling" header equals "1:1"
149149 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -160,7 +160,7 @@ Feature: Automatic instrumentation spans
160160
161161 Scenario : AutoInstrumentViewLoadBasicScenario
162162 Given I run "AutoInstrumentViewLoadBasicScenario"
163- And I wait for 3 spans
163+ And I wait to receive at least 3 spans
164164 And I wait for 3 seconds
165165 Then the trace "Content-Type" header equals "application/json"
166166 * the trace "Bugsnag-Span-Sampling" header equals "1:3"
@@ -183,7 +183,7 @@ Feature: Automatic instrumentation spans
183183
184184 Scenario : AutoInstrumentViewLoadBasicDeferScenario
185185 Given I run "AutoInstrumentViewLoadBasicDeferScenario"
186- And I wait for 2 spans
186+ And I wait to receive at least 2 spans
187187 And I wait for 3 seconds
188188 Then the trace "Content-Type" header equals "application/json"
189189 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -195,7 +195,7 @@ Feature: Automatic instrumentation spans
195195 * no span named "[ViewLoad]FlutterWidget/AutoInstrumentViewLoadBasicDeferScenarioWidget" exists
196196 * no span named "[ViewLoadPhase]FlutterWidget/AutoInstrumentViewLoadBasicDeferScenarioWidget/loading content" exists
197197 And I invoke "step2"
198- And I wait for 4 spans
198+ And I wait to receive at least 4 spans
199199 * a span field "name" equals "[ViewLoad]FlutterWidget/AutoInstrumentViewLoadBasicDeferScenarioWidget"
200200 * a span string attribute "bugsnag.span.category" equals "view_load"
201201 * a span field "name" equals "[ViewLoadPhase]FlutterWidget/AutoInstrumentViewLoadBasicDeferScenarioWidget/loading content"
@@ -211,7 +211,7 @@ Feature: Automatic instrumentation spans
211211
212212 Scenario : AutoInstrumentViewLoadNestedScenario
213213 Given I run "AutoInstrumentViewLoadNestedScenario"
214- And I wait for 4 spans
214+ And I wait to receive at least 4 spans
215215 And I wait for 3 seconds
216216 Then the trace "Content-Type" header equals "application/json"
217217 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
@@ -227,7 +227,7 @@ Feature: Automatic instrumentation spans
227227 * no span named "[ViewLoad]FlutterWidget/AutoInstrumentViewLoadNestedScenarioChildWidget" exists
228228 * no span named "[ViewLoadPhase]FlutterWidget/AutoInstrumentViewLoadNestedScenarioChildWidget/loading content" exists
229229 And I invoke "step2"
230- And I wait for 8 spans
230+ And I wait to receive at least 8 spans
231231 * a span field "name" equals "[ViewLoad]FlutterWidget/AutoInstrumentViewLoadNestedScenarioWidget"
232232 * a span field "name" equals "[ViewLoad]FlutterWidget/AutoInstrumentViewLoadNestedScenarioChildWidget"
233233 * a span string attribute "bugsnag.span.category" equals "view_load"
@@ -260,7 +260,7 @@ Feature: Automatic instrumentation spans
260260 * no span named "[Navigation]navigation_view_load_scenario" exists
261261 * no span named "[ViewLoad]FlutterWidget/AutoInstrumentNavigationWithViewLoadWidget" exists
262262 Then I invoke "step4"
263- And I wait for 5 spans
263+ And I wait to receive at least 5 spans
264264 Then the trace "Content-Type" header equals "application/json"
265265 * the trace "Bugsnag-Span-Sampling" header equals "1:1"
266266 * the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d -\d\d -\d\d T\d\d :\d\d :\d\d\.\d\d\d Z$"
0 commit comments