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

Analyze Warning in console when creating a new Test #728

Open
crazyplayy opened this issue Jul 3, 2023 · 0 comments · May be fixed by #818
Open

Analyze Warning in console when creating a new Test #728

crazyplayy opened this issue Jul 3, 2023 · 0 comments · May be fixed by #818
Labels
bug Something isn't working
Milestone

Comments

@crazyplayy
Copy link
Contributor

crazyplayy commented Jul 3, 2023

Expected behavior

When creating a new Test, it should not appear any Warning in console.

Actual behavior

When clicking on the button to create a new Test, the following warning is prompted in console:
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.

Steps to reproduce

  1. Initiate Maestro and open the 'Tests' tab
  2. Inspect the page and access the 'Console' tab
  3. Click the 'Create' button

Possible fix

Might be related to the conditional rendering being done in 'TestNew.js'
The last analysis also suggested that the error is being triggered by 'TitleFormItem.js' and 'RunPlanFormItem.js' in 'RunConfigurationForm.js'

@crazyplayy crazyplayy added the bug Something isn't working label Jul 3, 2023
@crazyplayy crazyplayy changed the title Analyze Warning in console when creating a new tes behaviour when refreshing page Analyze Warning in console when creating a new Test Jul 3, 2023
@crazyplayy crazyplayy added this to the v1.0.0 milestone Aug 24, 2023
@brunomatavares brunomatavares linked a pull request Sep 13, 2023 that will close this issue
3 tasks
@brunomatavares brunomatavares linked a pull request Sep 13, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant