This page contains links to the information for plugin developers.
See the Developer Documentation.
There are no tests available for the UI part. Mainly the javascript code and the interaction between html elements in the jelly files needs manual testing.
After starting Jenkins locally via mvn hpi:run
go to the Manage and Assigne Roles
page.
Verify that following things work on Manage Roles
:
- Adding a global, item and agent role
- Deleting a role by pressing on the red x deletes the role
- Clicking on the pencil next to a pattern enables edit mode of the pattern (validate for both items and agents)
- Pressing return key when in the input field of the pattern terminates edit mode and pattern has the new value
- Pressing escape when in the input field of the pattern terminates edit mode and pattern has the old value
- Clicking on the pencil next to the pattern disables edit mode of the pattern when it is enabled and pattern has new value
- Clicking on the pattern opens a dialog box showing the matching items or agents
- Hovering over the checkboxes properly highlights the row and column and shows a tooltip
- Tooltips are properly formatted
- Entering html as rolename is printed as plain text in the field and in the tooltips.
- After changing the pattern, tooltips are properly updated
- After pressing Save/Apply and page reload new data is there
Verify that following things work on Assign Roles
:
- Adding a new user to global, item and agent role
- Deleting a role by pressing on the red x deletes the role
- Hovering over the checkboxes properly highlights the row and column and shows a tooltip
- Entering html as user is printed as plain text in the field and in the tooltips.
- Top-level project overview: https://youtu.be/xLwXiDoFM2o
- Macros and Project Naming Strategy: https://www.youtube.com/watch?v=loXiY36QQS8