Skip to content

Commit

Permalink
test: add tests to verify runtime version info is included at the cor…
Browse files Browse the repository at this point in the history
…rect location
  • Loading branch information
fractalwrench committed Apr 18, 2019
1 parent c0403d2 commit 2292f0f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/runtime_versions.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Feature: Runtime versions are included in all requests

Scenario: Runtime versions included in Cocoa error
When I run "HandledErrorScenario"
Then I should receive a request
And the request is valid for the error reporting API
And the payload field "events.0.device.runtimeVersions.osBuild" is not null

Scenario: Runtime versions included in Cocoa session
When I run "ManualSessionScenario"
And I wait for 10 seconds
Then I should receive a request
And the request is a valid for the session tracking API
And the payload field "device.runtimeVersions.osBuild" is not null

0 comments on commit 2292f0f

Please sign in to comment.