Bug 47306 - Add further selenium tests for UMC
Add further selenium tests for UMC
Status: VERIFIED FIXED
Product: UCS Test
Classification: Unclassified
Component: UMC
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Johannes Keiser
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-04 19:42 CEST by Johannes Keiser
Modified: 2021-09-27 11:04 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2018-07-04 19:42:07 CEST
To futher automate the UMC product test the following tests should be added:
- Process overview module
- System services module
- Adding/removing user photo
- Import license
- System diagnostics module
- Install/uninstall apps
- Install/uninstall packages
Comment 1 Johannes Keiser univentionstaff 2018-07-31 17:37:00 CEST
7189f42 Bug #47306: Add test 86_selenium/133_system_diagnostics
04f69d2 Bug #47306: Add test 86_selenium/134_side_menu
a695aca Bug #47306: Add test 86_selenium/135_upload_license
9fdf4de Bug #47306: Add test 86_selenium/136_packages
d967089 Bug #47306: Add test 86_selenium/137_appcenter
ee0dafa Bug #47306: Add test 86_selenium/152_udm_add_user_photo
de9ef48 Bug #47306: Add test 86_selenium/160_process_overview_module
a34b893 Bug #47306: Add test 86_selenium/170_system_services_module
dde4dcf Bug #47306: Merge branch 'jkeiser/47306_missing_selenium_tests' into 4.3-1
2c7dd66 Bug #47306: Debian changelog
d646187 Bug #47306: Fix fuzzy
8dc185f Bug #47306: Fix fuzzy entry
a6e4e77 Bug #47306: Fix 86_selenium/135_upload_license and 86_selenium/136_packages
Comment 2 Florian Best univentionstaff 2019-03-20 13:49:38 CET
I did a code review. They all look fine.

I made the following adjustment in 160_process_overview_module:
* check the exit code of the process, which get killed (so that is ensured that kill terminates(sighup) and force-kill kills (sigkill).

I think the following adjustment could be done:
* 86_selenium/136_packages should purge the package which is installed
* 86_selenium/136_packages should check via dpkg if the package is installed (not only via checking the grid output)
Comment 3 Florian Best univentionstaff 2019-04-05 13:50:09 CEST
It would be nice if we reach a selenium wait TimeoutException to have a look if there are e.g. error pop ups opened and print its content to the log/testfile output.
This could be done in the __exit__ handler which gets the exception instance. I think we are already creating a screenshot then but it would be nice if we can get some ASCII representation of what is currently displayed in UMC.
Comment 4 Florian Best univentionstaff 2021-09-27 11:04:24 CEST
f05bd088e8 Bug #47306: add error message to timeouts
b04eb8d7c0 Bug #47306 Selenium: Show URL of browser logs
5afaa20752 Bug #47306: add environment variables to all config files
d1ce540d12 Bug #47306: skip producttest
e3fdb1bc3c Bug #47306: debian changelog
54755cc7b2 Bug #47306: tag 86_selenium/16_umc_memory_leaks as producttest
49f056b307 Bug #47306: fix typo
d3873bd41f Bug #47306: fix screenshot url path
5ad814d7c4 Bug #47306: debian changelog
9d6b1e6842 Bug #47306: convert to ES5
06663ebe4b Bug #47306: Merge branch 'jkeiser/4.4-0/ucs_test' into 4.4-0
e049eab9cf Bug #47306: debian changelog
fc1ba712fb Bug #47306: added 86_selenium/16_umc_memory_leaks + code cleanup
5d6c08dfaa Bug #47306: fix cfg file syntax error
eadc6da2b2 Bug #47306: add link to screenshot of selenium failure
f6ad0fd0bc Bug #47306: fix cfg file syntax error
4697380483 Bug #47306: add link to screenshot of selenium failure
767c96aab3 Bug #47306: check exit code of process
b4ccdf9c01 Bug #47306: fix fuzzy entry and file permission
58565545ad Bug #47306: Debian changelog entry
d49880df43 Bug #47306: added test 86_selenium/180_portal_entries
c6c6c20376 Bug #47306: Debian changelog
ca33cf79fd Bug #47306: remove unused variable
ea0be4a88c Bug #47306: Hide StartupDialog in 86_selenium/135_upload_license
309d043843 Bug #47306: Add check until standby animation appears
f48bd7a0e3 Bug #47306: fix 86_selenium/136_packages 86_selenium/135_upload_license
2dc2e5f163 Bug #47306: Fix 86_selenium/136_packages
8dd225c5a9 Bug #47306: Fix 86_selenium/135_upload_license
a6e4e77c11 Bug #47306: Fix 86_selenium/135_upload_license and 86_selenium/136_packages
8dc185fd2d Bug #47306: Fix fuzzy entry
d646187c23 Bug #47306: Fix fuzzy
2c7dd66327 Bug #47306: Debian changelog
dde4dcf1e8 Bug #47306: Merge branch 'jkeiser/47306_missing_selenium_tests' into 4.3-1
a34b8936bf Bug #47306: Add test 86_selenium/170_system_services_module
de9ef48f15 Bug #47306: Add test 86_selenium/160_process_overview_module
ee0dafab62 Bug #47306: Add test 86_selenium/152_udm_add_user_photo
d9670899c8 Bug #47306: Add test 86_selenium/137_appcenter
9fdf4de782 Bug #47306: Add test 86_selenium/136_packages
a695aca770 Bug #47306: Add test 86_selenium/135_upload_license
04f69d20e3 Bug #47306: Add test 86_selenium/134_side_menu
7189f422d3 Bug #47306: Add test 86_selenium/133_system_diagnostics
Comment 5 Florian Best univentionstaff 2021-09-27 11:04:37 CEST
OK