-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from tiiuae/SP-4969
SP-4969 Add automated tests for Business vm
- Loading branch information
Showing
7 changed files
with
78 additions
and
2,477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-FileCopyrightText: 2022-2024 Technology Innovation Institute (TII) | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
*** Settings *** | ||
Resource ../config/variables.robot | ||
|
||
|
||
*** Keywords *** | ||
|
||
Check that the application was started | ||
[Arguments] ${app_name} ${range}=2 | ||
FOR ${i} IN RANGE ${range} | ||
@{found_pids} Find pid by name ${app_name} | ||
Set Global Variable @{app_pids} @{found_pids} | ||
${status} Run Keyword And Return Status Should Not Be Empty ${app_pids} | ||
IF ${status} BREAK | ||
Sleep 1 | ||
END | ||
Should Not Be Empty ${app_pids} ${app_name} is not started | ||
Log To Console ${app_name} is started | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SPDX-FileCopyrightText: 2022-2024 Technology Innovation Institute (TII) | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
*** Settings *** | ||
Documentation Testing Business VM | ||
Force Tags bat businessvm lenovo-x1 | ||
Resource ../../resources/ssh_keywords.resource | ||
Resource ../../resources/virtualization_keywords.resource | ||
Resource ../../config/variables.robot | ||
Resource ../../resources/common_keywords.resource | ||
|
||
Suite Teardown Close All Connections | ||
|
||
|
||
*** Test Cases *** | ||
|
||
Start Microsoft Outlook on LenovoX1 | ||
[Documentation] Start Microsoft Outlook in dedicated VM and verify process started | ||
[Tags] outlook SP-T186 | ||
Connect to netvm | ||
Connect to VM ${GUI_VM} | ||
Start XDG application "Microsoft Outlook" | ||
Connect to VM ${BUSINESS_VM} | ||
Check that the application was started outlook | ||
[Teardown] Kill process @{app_pids} | ||
|
||
Start Microsoft 365 on LenovoX1 | ||
[Documentation] Start Microsoft 365 in dedicated VM and verify process started | ||
[Tags] microsoft365 SP-T188 | ||
Connect to netvm | ||
Connect to VM ${GUI_VM} | ||
Start XDG application "Microsoft 365" | ||
Connect to VM ${BUSINESS_VM} | ||
Check that the application was started microsoft365 | ||
[Teardown] Kill process @{app_pids} | ||
|
||
Start Microsoft Teams on LenovoX1 | ||
[Documentation] Start Microsoft Teams in dedicated VM and verify process started | ||
[Tags] teams SP-T187 | ||
Connect to netvm | ||
Connect to VM ${GUI_VM} | ||
Start XDG application Teams | ||
Connect to VM ${BUSINESS_VM} | ||
Check that the application was started teams | ||
[Teardown] Kill process @{app_pids} | ||
|
||
Start Microsoft Trusted Browser on LenovoX1 | ||
[Documentation] Start Microsoft Trusted Browser in dedicated VM and verify process started | ||
[Tags] trusted_browser SP-T189 | ||
Connect to netvm | ||
Connect to VM ${GUI_VM} | ||
Start XDG application "Trusted Browser" | ||
Connect to VM ${BUSINESS_VM} | ||
Check that the application was started chromium | ||
[Teardown] Kill process @{app_pids} |
Empty file.
Empty file.
Oops, something went wrong.