Skip to content

Failed to save tests report error after Git dialog #2375

Open
@alisevych

Description

@alisevych

Description

If the project has git versioning, user is prompted to add test class to git or not.
If user has not reacted quickly (within ~3 minutes) - Failed to save tests report error dialog is displayed.

To Reproduce

  1. Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.1.3
  2. Open a project with git versioning
  3. Delete target test class if present
  4. Generate tests for a class
  5. Wait Add File to Git dialog is displayed
  6. Leave it opened for 3+ minutes
  7. Select Add/Cancel

Expected behavior

SARIF reports are saved without error.

Actual behavior

Failed to save tests report error dialog is displayed.
SARIF report is saved.

Screenshots, logs

image

Environment

Project with git versioning

Additional context

Initial bug:

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-sarifIssue is related to SARIF report or Problems tabctg-bugIssue is a bugspec-uxIssue is influencing user experience

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions