-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathproject_packages.feature
24 lines (22 loc) · 1.39 KB
/
project_packages.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: projectPackages
Scenario: Sends projectPackages with events
When I run "ProjectPackagesScenario"
Then I wait to receive an error
And the error is valid for the error reporting API version "4.0" for the "Flutter Bugsnag Notifier" notifier
And the exception "errorClass" equals "_Exception"
And the event "severity" equals "warning"
And on iOS, the error payload field "events.0.projectPackages" is an array with 2 elements
And on Android, the error payload field "events.0.projectPackages" is an array with 3 elements
And the event "projectPackages.0" equals "test_package"
And the event "projectPackages.1" equals "MazeRunner"
And on Android, the event "projectPackages.2" equals "com.bugsnag.flutter.test.app"
Scenario: Sends projectPackages after attaching to native layer
When I run "NativeProjectPackagesScenario"
Then I wait to receive an error
And the error is valid for the error reporting API version "4.0" for the "Flutter Bugsnag Notifier" notifier
And the exception "errorClass" equals "_Exception"
And the exception "message" equals "Keep calm and carry on"
And the error payload field "events.0.projectPackages" is an array with 3 elements
And the event "projectPackages.0" equals "test_package"
And the event "projectPackages.1" equals "MazeRunner"
And the event "projectPackages.2" equals "com.bugsnag.flutter.test.app"