Bug 52221 - Create Selenium tests for the mailaddress feature of workgroups
Create Selenium tests for the mailaddress feature of workgroups
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
unspecified
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v7-errata
Assigned To: Ole Schwiegert
Tobias Wenzel
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-15 11:47 CEST by Ole Schwiegert
Modified: 2020-11-18 10:38 CET (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 Ole Schwiegert univentionstaff 2020-10-15 11:47:50 CEST
We want to create Selenium tests for the new mail feature in workgroups.
Comment 1 Ole Schwiegert univentionstaff 2020-10-16 14:12:15 CEST
Package: ucs-school-umc-groups
Version: 9.0.0-9A~4.4.0.202010161410
Branch: ucs_4.4-0
Scope: ucs-school-4.4

While writing the selenium tests it was discovered that the frontend used a javascript language feature that is not present in all supported browser versions. The feature was replaced with an equivalent that is supported.
Comment 2 Ole Schwiegert univentionstaff 2020-10-19 07:50:45 CEST
Package: ucs-test-ucsschool
Version: 6.0.149A~4.4.0.202010190744
Branch: ucs_4.4-0
Scope: ucs-school-4.4

The Selenium test checks the following things in addition to the functional, normal ucs-test:

Tests that mailaddress checkbox is not visible if UCR empty
Tests that mailaddress is visible if UCR is set
Tests for creating a workgroup without share and email address
Tests for creating a workgroup with share and email address
Tests that email is still shown if UCR is deactivated, but toggle is gone
Comment 3 Tobias Wenzel univentionstaff 2020-10-19 13:37:08 CEST
QA -> all ok -> verify if test passes in jenkins

changes in javascript -> looks good
changelogs -> OK
test-code -> looks good
test passes on dev vm -> OK
Comment 4 Tobias Wenzel univentionstaff 2020-10-20 09:03:38 CEST
QA -> Jenkins is happy -> VERIFY
Comment 5 Ole Schwiegert univentionstaff 2020-11-18 10:38:52 CET
UCS@school 4.4 v8 has been released (errata update to the release).

https://docs.software-univention.de/changelog-ucsschool-4.4v8-de.html

If this error occurs again, please clone this bug.