Files
open-source-firmware-valida…/self-tests/dcu.robot
T

40 lines
1.3 KiB
Plaintext

*** Settings ***
Library Collections
Library OperatingSystem
Library Process
Library String
Library Telnet timeout=30 seconds connection_timeout=120 seconds
Library SSHLibrary timeout=90 seconds
Library RequestsLibrary
Library FakerLibrary
# TODO: maybe have a single file to include if we need to include the same
# stuff in all test cases
Resource ../variables.robot
Resource ../keywords.robot
Resource ../keys.robot
# TODO:
# - document which setup/teardown keywords to use and what are they doing
# - go threough them and make sure they are doing what the name suggest (not
# exactly the case right now)
Suite Setup Run Keyword
... Prepare Test Suite
Suite Teardown Run Keyword
... Log Out And Close Connection
*** Test Cases ***
Boot System Or From Connected Disk
Skip If '${OPTIONS_LIB}' != 'options-lib_dcu' DCU not supported
Power On
Dcu.Boot System Or From Connected Disk ${ENV_ID_WINDOWS_11}
Dcu.Login To Windows Via SSH ${DEVICE_OS_USERNAME} ${DEVICE_OS_PASSWORD}
Power On
Dcu.Boot System Or From Connected Disk ${OS_UBUNTU}
Login To Linux
Switch To Root User