@@ -11,9 +11,9 @@ Feature: Trace and state persistence
1111 And the trace "Bugsnag-Span-Sampling" header equals "1:3"
1212 And I wait for requests to persist
1313 And I discard the oldest trace
14- And I close the Unity app
14+ And I stop the Unity app
1515 Then I set the HTTP status code to 200
16- And I relaunch the app
16+ And I start the Unity app
1717 And I run the game in the "StartSDK" state
1818 And I wait to receive at least 3 spans
1919 And the trace "Bugsnag-Span-Sampling" header equals "1:3"
@@ -27,9 +27,9 @@ Feature: Trace and state persistence
2727 And the trace "Bugsnag-Span-Sampling" header equals "1:3"
2828 And I wait for requests to persist
2929 And I discard the oldest trace
30- And I close the Unity app
30+ And I stop the Unity app
3131 Then I set the HTTP status code to 200
32- And I relaunch the app
32+ And I start the Unity app
3333 And I run the game in the "MaxBatchAge" state
3434 And I should receive no trace
3535
@@ -40,10 +40,10 @@ Feature: Trace and state persistence
4040 And I run the game in the "PValueUpdate" state
4141 And I wait to receive a sampling request
4242 Then I should receive no traces
43- Then I close the Unity app
43+ Then I stop the Unity app
4444 # Block the next initial P value request so that it keeps its 0.0 P value
4545 And I set the HTTP status code for the next request to 404
46- And I relaunch the app
46+ And I start the Unity app
4747 And I run the game in the "PValueUpdate" state
4848 Then I should receive no traces
4949
@@ -54,9 +54,9 @@ Feature: Trace and state persistence
5454 And I run the game in the "PValueUpdate" state
5555 And I wait to receive a sampling request
5656 Then I should receive no traces
57- Then I close the Unity app
57+ Then I stop the Unity app
5858 And I set the sampling probability for the next traces to "1"
59- And I relaunch the app
59+ And I start the Unity app
6060 And I run the game in the "PValueUpdate" state
6161 And I wait to receive at least 1 span
6262 And the trace "Bugsnag-Span-Sampling" header equals "1:1"
@@ -70,10 +70,10 @@ Feature: Trace and state persistence
7070 And the trace "Bugsnag-Span-Sampling" header equals "1:1"
7171 And I wait for requests to persist
7272 And I discard the oldest trace
73- Then I close the Unity app
73+ Then I stop the Unity app
7474 # Block the next initial P value request so that it keeps its 1.0 P value
7575 And I set the HTTP status code for the next request to 404
76- And I relaunch the app
76+ And I start the Unity app
7777 And I run the game in the "PValueUpdate" state
7878 And I wait to receive at least 1 span
7979 And the trace "Bugsnag-Span-Sampling" header equals "1:1"
@@ -87,9 +87,9 @@ Feature: Trace and state persistence
8787 And the trace "Bugsnag-Span-Sampling" header equals "1:1"
8888 And I wait for requests to persist
8989 And I discard the oldest trace
90- Then I close the Unity app
90+ Then I stop the Unity app
9191 And I set the sampling probability for the next traces to "0"
92- And I relaunch the app
92+ And I start the Unity app
9393 And I run the game in the "PValueUpdate" state
9494 Then I should receive no traces
9595
0 commit comments