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

Fix Warnings from the Web UI Tests #2499

Merged
merged 4 commits into from
Dec 3, 2023

Conversation

andrewbaldwin44
Copy link
Collaborator

@andrewbaldwin44 andrewbaldwin44 commented Dec 3, 2023

  • Add a config to vitest that allows for using after / before / afterAll / beforeAll hooks (and thus silences this warning)
  • Add a width and height to the e-charts container so that it doesn't output any warning either
  • Fix warnings that recommends using act when a component re-renders
  • The tests also reveled that addSpaceToChartsBetweenTests was using payload[0], which isn't correct. This is changed to a simple empty value
    image
    image

@cyberw
Copy link
Collaborator

cyberw commented Dec 3, 2023

Nice!

@cyberw cyberw merged commit 21453a8 into locustio:master Dec 3, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants