-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrrd_deepsleep_dynamic.feature
More file actions
49 lines (45 loc) · 2.36 KB
/
rrd_deepsleep_dynamic.feature
File metadata and controls
49 lines (45 loc) · 2.36 KB
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
39
40
41
42
43
44
45
46
47
48
49
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2018 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################
Feature: Remote Debugger Deepsleep dynamic scenario
Scenario: Verify remote debugger process is running
Given the remote debugger process is not running
When I start the remote debugger process
Then the remote debugger process should be running
Scenario: Send event for Deepsleep
Given the Deepsleep event is triggered
When I trigger the event Deepsleep event
Then the event changes from DEEPSLEEP to ON state
And the logs should contain "Received state from Power Manager Current :[5] New[3]"
And the logs should be seen with "Copying Message Received to the queue"
When the remotedebugger received the message from deepsleep trigger
Then remotedebugger should read the Json file
And remotedebugger logs should contain the Json File Parse success
And the issue data node and sub-node should be found in the JSON file
And the directory should be created to store the executed output
And Sanity check to validate the commands should be executed
And Command output shopuld be added to the output file
And the issuetype systemd service should start successfully
And the journalctl service should start successfully
And the process should sleep with timeout
And the issuetype systemd service should stop successfully
And the remotedebugger should call script to upload the debug report
Scenario: Upload remote debugger debug report
When I check the upload status in the logs
Then the upload should be successful if upload is success
Or the upload should fail if upload fails