-
Notifications
You must be signed in to change notification settings - Fork 81
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
[RHOAIENG-223] Test VSCode - add checks for VS Code image #1102
Conversation
[Documentation] Waits for the notebook IDE environment to be loaded completely and performs | ||
... a simple check with the Menu action in the loaded IDE. | ||
[Arguments] ${image_name} ${version} | ||
${ide}= Notebook Expected Ide ${image_name} |
Check warning
Code scanning / Robocop
The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test
Robot Results
|
+1 I think it makes sense merging just the spawning test, after a little cleanup. |
@@ -41,6 +41,28 @@ | |||
... project_title=${PRJ_TITLE} username=${TEST_USER_3.USERNAME} | |||
... password=${TEST_USER_3.PASSWORD} auth_type=${TEST_USER_3.AUTH_TYPE} | |||
|
|||
Verify User Can Create A Workbench Using Code Server Image |
Check warning
Code scanning / Robocop
Test case '{{ test_name }}' has too many keywords inside ({{ keyword_count }}/{{ max_allowed_count }}) Warning test
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Fixed
Show fixed
Hide fixed
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Fixed
Show fixed
Hide fixed
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Fixed
Show fixed
Hide fixed
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Resources/Page/ODH/JupyterHub/JupyterHubSpawner.robot
Outdated
Show resolved
Hide resolved
ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Projects.resource
Outdated
Show resolved
Hide resolved
ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Workbenches.resource
Outdated
Show resolved
Hide resolved
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Show resolved
Hide resolved
0cd8562
to
76664b7
Compare
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Show resolved
Hide resolved
704b0fa
to
68a6d39
Compare
..._ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_notebook_images.robot
Fixed
Show fixed
Hide fixed
Verify User Can Create A Workbench Using Code Server Image | ||
[Documentation] Verifies that a workbench can be created using Code Server image | ||
[Tags] Sanity Tier1 | ||
Set Test Variable ${IMG_NAME} code-server |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
[Documentation] Verifies that a workbench can be created using Code Server image | ||
[Tags] Sanity Tier1 | ||
Set Test Variable ${IMG_NAME} code-server | ||
Set Test Variable ${WORKBENCH_TITLE} codeServer |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
[Tags] Sanity Tier1 | ||
Set Test Variable ${IMG_NAME} code-server | ||
Set Test Variable ${WORKBENCH_TITLE} codeServer | ||
Set Test Variable ${PV_NAME} codeServerPv |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Set Test Variable ${IMG_NAME} code-server | ||
Set Test Variable ${WORKBENCH_TITLE} codeServer | ||
Set Test Variable ${PV_NAME} codeServerPv | ||
Set Test Variable ${PV_DESCRIPTION} PV for codeServer |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Close Previous Server | ||
[Documentation] Closes previous server and goes back to Spawner | ||
Clean Up Server | ||
Stop JupyterLab Notebook Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it work for VS Code as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, no... good catch! It isn't being called at all, actually 🙁 let me check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated - I removed this part completely and changed the teardown method at the beginning of the file that stops the created workbench at the end of the test execution.
End Non JupyterLab Web Test | ||
[Arguments] ${username}=${TEST_USER.USERNAME} | ||
Go To ${ODH_DASHBOARD_URL} | ||
Wait for RHODS Dashboard to Load |
Check warning
Code scanning / Robocop
Keyword name '{{ keyword_name }}' does not follow case convention Warning test
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
Quality Gate passedIssues Measures |
This is a fix for the recent change [1,2]. Let's be consistent in the variable naming in all relevant keywords. * [1] red-hat-data-services#1102 * [2] 60fffb5
This introduces tests for the recently added VS Code IDE image. For more information see [1,2].
[1] https://issues.redhat.com/browse/RHOAIENG-223
[2] https://issues.redhat.com/browse/RHOAIENG-225
CI: rhods-ci-pr-test/2349