Skip to content

Don't show error message when user explicitly cancel test generation #1307

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

Closed
tyuldashev opened this issue Nov 3, 2022 · 0 comments · Fixed by #1454
Closed

Don't show error message when user explicitly cancel test generation #1307

tyuldashev opened this issue Nov 3, 2022 · 0 comments · Fixed by #1454
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug

Comments

@tyuldashev
Copy link
Collaborator

Description

If user cancel generation at Generating test cases phase then error is shown even though cancelation was explicitly requested by user.

To Reproduce

Steps to reproduce the behavior:

  1. Open utbot project
  2. Start test generation for org.utbot.examples.strings.StringExamples
  3. Wait till Generate test cases... phase
  4. Click cross to cancel generation
    image

Expected behavior

Test generation stopped. No errors shown as this is result of explicit user action.

Actual behavior

Error that no tests are generated shown with suggestion how to fix it.

Visual proofs (screenshots, logs, images)
image

Additional context

When cancel generation during reading classes phase then no error shown as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants