Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose to rerun #1179

Open
tikolakin opened this issue Dec 11, 2024 · 1 comment
Open

Choose to rerun #1179

tikolakin opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
enhancement new feature request, improvement, enhancement priority medium
Milestone

Comments

@tikolakin
Copy link

tikolakin commented Dec 11, 2024

Feature Request: Enhanced Rerun Options for Test Runs


Problem Description

Currently, the rerun options in Testomatio are limited to predefined choices:

  1. Relaunch Failed on CI
  2. Relaunch All on CI
  3. Relaunch Manually
  4. Launch a Copy Manually

These options do not cater to the following use cases:

  • The need to selectively rerun specific tests (e.g., passed, skipped, failed, or tests without a status).
  • The inability to provide new inputs or modify automated test run configurations before triggering a rerun.
  • Handling situations where test results remain in a pending state due to CI failures, resulting in a dead end with no possibility of rerunning.
  • The lack of flexible rerun options for manual test runs.

Proposed Solution

  1. Checkbox Selection for Rerun
    • Add checkboxes next to each test in a test run (similar to the checkboxes available on the "Test Runs" page or the "Tests" page). They should be available on each filtered view for better UX
image
  • Allow users to select individual tests for rerun.
  1. Enhanced Rerun Popup with Configurable Options

    • Once tests are selected, provide a "Rerun" button that opens a popup with the following options:

      • Rerun as a Copy: Create a new test run containing only the selected tests. The new test run should be placed alongside the original in the same folder.
      • Rerun in Place: Rerun the tests within the existing test run ID.
    • Input Configuration: Allow users to view and modify inputs for the rerun (e.g., environment, CI configuration, etc.).

      • Default inputs should mirror those used in the original run.
      • Enable users to update inputs if necessary before rerunning.
  2. Support for All Test Statuses

    • Ensure that rerun functionality supports tests in all statuses (passed, skipped, failed, pending or without status).
  3. Manual Test Runs

    • Extend the "Choose to Rerun" functionality to manual test runs, allowing similar flexibility in selecting and rerunning tests.

Additional Benefits

  • Users can customize reruns to better align with their workflows.
  • Simplifies workflows for handling CI failures and manual test reruns.
  • Reduces the need for repetitive test runs or manual setup when rerunning tests.

Let me know if further refinement is needed or if you'd like me to expand on specific aspects!

Current UI
image

@tikolakin tikolakin added the enhancement new feature request, improvement, enhancement label Dec 11, 2024
@poliarush
Copy link
Collaborator

related

#691
#1031
#1119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new feature request, improvement, enhancement priority medium
Projects
None yet
Development

No branches or pull requests

3 participants