Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for using waypipe-ssh key from GuiVM #71

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Robot-Framework/test-suites/bat-tests/guivm.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2023 Technology Innovation Institute (TII)
# SPDX-License-Identifier: Apache-2.0

*** Settings ***
Documentation Testing for GuiVM
Force Tags guivm
Resource ../../resources/ssh_keywords.resource
Resource ../../config/variables.robot
Suite Teardown Close All Connections


*** Test Cases ***

Waypipe SSH Public Key can be used to connect to Chromium VM
[Documentation] Connect to GuiVM and try to connect to Chromium AppVM
... from there using Waypipe SSH key.
[Tags] bat SP-T666 lenovoX1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recently we changed the tag from lenovoX1 to lenovo-x1, replace it please

[Setup] Run Keywords
... Connect to ghaf host AND Connect to netvm AND Connect to guivm
Log To Console Connecting to Chromium VM
${cmd}= Set Variable ssh -o StrictHostKeyChecking=no -i /run/waypipe-ssh/id_ed25519 ${CHROMIUM_VM} "exit 0"
${stdout} ${rc}= Execute Command ${cmd} return_rc=True
Should Be Equal As Integers 0 ${rc}
[Teardown] Close All Connections