Skip to content

Commit 912e295

Browse files
committed
Add software type capability message robot test cases
Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
1 parent 06b863a commit 912e295

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/RobotFramework/tests/cumulocity/software_management/software-update-child.robot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Test Setup Custom Setup
88
Test Teardown Custom Teardown
99

1010
*** Test Cases ***
11+
Supported software types should be declared during startup
12+
[Documentation] #2654 This test will be updated once advanced software management support is implemented
13+
ThinEdgeIO.Set Device Context ${PARENT_SN}
14+
Should Have MQTT Messages topic=te/device/${CHILD_SN}///cmd/software_list minimum=1 maximum=1 message_contains="types":["apt"]
15+
Should Have MQTT Messages topic=te/device/${CHILD_SN}///cmd/software_update minimum=1 maximum=1 message_contains="types":["apt"]
16+
1117
Software list should be populated during startup
1218
Cumulocity.Should Contain Supported Operations c8y_SoftwareUpdate
1319
Device Should Have Installed Software tedge timeout=120

tests/RobotFramework/tests/cumulocity/software_management/software.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ Test Setup Custom Setup
88
Test Teardown Custom Teardown
99

1010
*** Test Cases ***
11+
Supported software types should be declared during startup
12+
[Documentation] #2654 This test will be updated once advanced software management support is implemented
13+
Should Have MQTT Messages topic=te/device/main///cmd/software_list minimum=1 maximum=1 message_contains="types":["apt"]
14+
Should Have MQTT Messages topic=te/device/main///cmd/software_update minimum=1 maximum=1 message_contains="types":["apt"]
15+
1116
Software list should be populated during startup
1217
Device Should Have Installed Software tedge timeout=120
1318

0 commit comments

Comments
 (0)