-
Notifications
You must be signed in to change notification settings - Fork 11
/
Connect.feature
38 lines (33 loc) · 1.01 KB
/
Connect.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Feature: Connect
The Asset Tracker should connect to the AWS IoT broker
Background:
Given I am run after the "Run the firmware" feature
Given I am authenticated with AWS key "{awsAccessKeyId}" and secret "{awsSecretAccessKey}"
Scenario: Read reported state
When I execute "getThingShadow" of the AWS IotData SDK with
"""
{
"thingName": "{deviceId}"
}
"""
And I parse "awsSdk.res.payload" into "shadow"
Then "shadow.state.reported" should match this JSON
"""
{
"dev": {
"v": {
"modV": "mfw_nrf9160_1.3.1",
"brdV": "nrf9160dk_nrf9160",
"appV": "{appVersion}-upgraded"
}
},
"cfg": {
"gnsst": 60,
"act": true,
"actwt": 120,
"mvres": 120,
"mvt": 3600,
"acct": 10
}
}
"""