-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RHOAIENG-223] Test VSCode - add checks for VS Code image
This introduces tests for the recently added code-server IDE image. For more information see [1,2]. This is just a basic check. More should be implemented later. [1] https://issues.redhat.com/browse/RHOAIENG-223 [2] https://issues.redhat.com/browse/RHOAIENG-225
- Loading branch information
Showing
6 changed files
with
114 additions
and
9 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
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
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
32 changes: 32 additions & 0 deletions
32
ods_ci/tests/Tests/500__jupyterhub/minimal-vscode-test.robot
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,32 @@ | ||
*** Settings *** | ||
Documentation Test Suite for Visual Studio Code (VSCode) image | ||
Resource ../../Resources/ODS.robot | ||
Resource ../../Resources/Common.robot | ||
Resource ../../Resources/Page/ODH/JupyterHub/JupyterHubSpawner.robot | ||
Resource ../../Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot | ||
Resource ../../Resources/Page/OCPDashboard/Builds/Builds.robot | ||
Library Screenshot | ||
Library DebugLibrary | ||
Library JupyterLibrary | ||
Suite Setup Verify VSCode Image Suite Setup | ||
Suite Teardown End Non JupyterLab Web Test | ||
Test Tags JupyterHub | ||
|
||
|
||
*** Variables *** | ||
${NOTEBOOK_IMAGE} = code-server | ||
|
||
|
||
*** Test Cases *** | ||
Verify VSCode Image Can Be Spawned | ||
[Documentation] Spawns vscode image | ||
[Tags] Sanity Tier1 | ||
Pass Execution Passing tests, as suite setup ensures that image can be spawned | ||
|
||
|
||
*** Keywords *** | ||
Verify VSCode Image Suite Setup | ||
[Documentation] Suite Setup, spawns vscode image | ||
Begin Web Test | ||
Launch JupyterHub Spawner From Dashboard | ||
Spawn Notebook With Arguments image=${NOTEBOOK_IMAGE} size=Small |