Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Maybe fix flakey AddRemoveThreepid test #81

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Sep 20, 2024

I have no idea why this is flaking. There are warnings about things not being wrapped in act() which may be relevant... this makes the warnings happy, although apparently should not be necessary. testing-library/user-event#906 and testing-library/user-event#497 are depressing reading (making the versions the same didn't help). I think my conclusion might be to do this until we're able to upgrade to the latest testing-library, then re-evaluate.

It still may or may not fix the flake.

For element-hq/element-web#28048

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

I have no idea why this is flaking. There are warnings about
things not being wrapped in act() which may be relevant... this makes
the warnings happy, although apparently should not be necessary.
testing-library/user-event#906 and
testing-library/user-event#497 are
depressing reading (making the versions the same didn't help). I think
my conclusion might be to do this until we're able to upgrade to the
latest testing-library, then re-evaluate.

It still may or may not fix the flake.
@dbkr dbkr added this pull request to the merge queue Sep 23, 2024
Merged via the queue into develop with commit 9aa09d4 Sep 23, 2024
32 checks passed
@dbkr dbkr deleted the dbkr/addremovethreepid_flake branch September 23, 2024 09:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants