Skip to content

Commit 18e9ada

Browse files
committed
utils/manual-check-os-setup.robot: add
Import code from: https://github.com/Dasharo/open-source-firmware-validation/pull/436/files This can be used in rare cases where we do not have Dasharo firmware but we need to confirm whether OSes have been prepared correctly. Not tested right now. Signed-off-by: Maciej Pijanowski <[email protected]>
1 parent da35137 commit 18e9ada

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

util/manual-check-os-setup.robot

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
*** Settings ***
2+
Library Collections
3+
Library Dialogs
4+
Library OperatingSystem
5+
Library Process
6+
Library String
7+
Library Telnet timeout=30 seconds connection_timeout=120 seconds
8+
Library SSHLibrary timeout=90 seconds
9+
Library RequestsLibrary
10+
# Library ../osfv-scripts/osfv_cli/src/osfv/rf/rte_robot.py
11+
# TODO: maybe have a single file to include if we need to include the same
12+
# stuff in all test cases
13+
Resource ../variables.robot
14+
Resource ../keywords.robot
15+
Resource ../keys.robot
16+
Resource ../keys-and-keywords/ubuntu-keywords.robot
17+
18+
# TODO:
19+
# - document which setup/teardown keywords to use and what are they doing
20+
# - go threough them and make sure they are doing what the name suggest (not
21+
# exactly the case right now)
22+
Suite Setup Run Keyword
23+
... Prepare Test Suite
24+
Suite Teardown Run Keyword
25+
... Log Out And Close Connection
26+
27+
28+
*** Test Cases ***
29+
OSS001.201 Boot to OS (Ubuntu)
30+
[Documentation] This test verifies if platform with non-Dasharo firmware
31+
... can be booted to Ubuntu and if correct credentials are set.
32+
Power On
33+
Execute Manual Step Boot to Ubuntu
34+
Login To Linux
35+
Switch To Root User
36+
37+
OSS001.301 Boot to OS (Windows 11)
38+
[Documentation] This test verifies if platform with non-Dasharo firmware
39+
... can be booted to Windows, if SSH server is enabled and if correct
40+
... credentials are set.
41+
Power On
42+
Execute Manual Step Boot to Windows
43+
Login To Windows Via SSH

0 commit comments

Comments
 (0)