[JIRA] (JENKINS-62101) Remove UI assertions from JobActionITest

7 views
Skip to first unread message

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 29, 2020, 3:39:03 PM4/29/20
to jenkinsc...@googlegroups.com
Ulli Hafner created an issue
 
Jenkins / Improvement JENKINS-62101
Remove UI assertions from JobActionITest
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2020-04-29 19:38
Labels: testing-course
Priority: Minor Minor
Reporter: Ulli Hafner

Several integration tests of the warnings plugin verify the plugin behavior by inspecting the UI using HTML Unit. This approach has some drawbacks: the integration tests are much slower and they are error prone (and sometimes are flaky as well). So it makes sense to replace the assertion part of these test with model based assertions. In the end, the corresponding page objects can be deleted as well. For a couple of scenarios, real UI tests can be created that use a real Jenkins instance with unmodified class loading behavior. Since UI tests are now part of the plugin, they still can ensure the quality of pull requests.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 29, 2020, 3:44:02 PM4/29/20
to jenkinsc...@googlegroups.com
Ulli Hafner assigned an issue to Unassigned
Change By: Ulli Hafner
Assignee: Ulli Hafner

hintermaier.joh@gmail.com (JIRA)

unread,
Apr 30, 2020, 5:19:02 AM4/30/20
to jenkinsc...@googlegroups.com

hintermaier.joh@gmail.com (JIRA)

unread,
Apr 30, 2020, 5:19:03 AM4/30/20
to jenkinsc...@googlegroups.com
Johannes Hintermaier started work on Improvement JENKINS-62101
 
Change By: Johannes Hintermaier
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages