@@ -47,7 +47,7 @@ Feature: Automatic creation of spans
47
47
Given I run "AppStartScenario"
48
48
Then I relaunch the app after shutdown
49
49
* I load scenario "AppStartScenario"
50
- And I wait for 6 spans
50
+ And I wait to receive at least 6 spans
51
51
* a span named "[AppStart/AndroidCold]" contains the attributes:
52
52
| attribute | type | value |
53
53
| bugsnag .span .category | stringValue | app_start |
@@ -88,7 +88,7 @@ Feature: Automatic creation of spans
88
88
Given I run "AppStartScenario"
89
89
Then I relaunch the app after shutdown
90
90
* I load scenario "AppStartScenario"
91
- And I wait for 2 spans
91
+ And I wait to receive at least 2 spans
92
92
* a span named "[AppStart/AndroidCold]" contains the attributes:
93
93
| attribute | type | value |
94
94
| bugsnag .span .category | stringValue | app_start |
@@ -119,7 +119,7 @@ Feature: Automatic creation of spans
119
119
@skip_below_android_10
120
120
Scenario : Activity load breakdown with full ViewLoad instrumentation
121
121
Given I run "ActivityLoadInstrumentationScenario" configured as "FULL"
122
- And I wait for 5 spans
122
+ And I wait to receive at least 5 spans
123
123
Then a span named "[ViewLoad/Activity]ActivityViewLoadActivity" contains the attributes:
124
124
| attribute | type | value |
125
125
| bugsnag .span .category | stringValue | view_load |
@@ -153,7 +153,7 @@ Feature: Automatic creation of spans
153
153
@skip_below_android_10
154
154
Scenario : Activity load breakdown with start-only ViewLoad instrumentation
155
155
Given I run "ActivityLoadInstrumentationScenario" configured as "START_ONLY"
156
- And I wait for 5 spans
156
+ And I wait to receive at least 5 spans
157
157
Then a span named "[ViewLoad/Activity]ActivityViewLoadActivity" contains the attributes:
158
158
| attribute | type | value |
159
159
| bugsnag .span .category | stringValue | view_load |
@@ -186,7 +186,7 @@ Feature: Automatic creation of spans
186
186
187
187
Scenario : AppStart/AndroidCold is discarded for background starts
188
188
Given I run "BackgroundAppStartScenario"
189
- And I wait for 1 span
189
+ And I wait to receive at least 1 span
190
190
* a span named "AlarmReceiver" contains the attributes:
191
191
| attribute | type | value |
192
192
| bugsnag .span .first_class | boolValue | true |
@@ -207,7 +207,7 @@ Feature: Automatic creation of spans
207
207
Given I run "AppStartScenario"
208
208
Then I relaunch the app after shutdown
209
209
* I load scenario "AppStartScenario"
210
- And I wait for 9 spans
210
+ And I wait to receive at least 9 spans
211
211
* a span named "[AppStart/AndroidCold]" contains the attributes:
212
212
| attribute | type | value |
213
213
| bugsnag .span .category | stringValue | app_start |
0 commit comments