Skip to content

UI incorrectly displays "By java test cases with parameters" instead of "By java class name" for "Test mode" setting #365

@ivan-permiakov

Description

@ivan-permiakov

Jenkins and plugins versions report

Environment
Jenkins: 2.541.3
OS: Linux - 5.15.0-174-generic
Java: 21.0.9 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
Plugin version: parallel-test-executor:611.va_92b_d1852e52
Job type: Freestyle

What Operating System are you using (both controller, and any agents involved in the problem)?

Debian GNU/Linux 13 (trixie)
Ubuntu 22.04.5 LTS

Reproduction steps

  1. Create or edit a freestyle job
  2. Add "Parallel Test Executor" build step
  3. Change test mode to "By java class name"
  4. Click Save
  5. Reopen job configuration

Expected Results

Test mode should display "By java class name"

Actual Results

Test mode displays "By java test cases with parameters"

Anything else?

Important Note: The config.xml file correctly shows:
<testMode class="org.jenkinsci.plugins.parallel_test_executor.testmode.JavaClassName"/>

And the job executes correctly using the JavaClassName mode. This appears to be a UI-only bug for this specific option. Other test modes display correctly in the UI.

Are you interested in contributing a fix?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions