-
Notifications
You must be signed in to change notification settings - Fork 20
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 flaky cypress tests #1645
base: develop
Are you sure you want to change the base?
Fix flaky cypress tests #1645
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1645 +/- ##
==============================================
- Coverage 81.05% 54.27% -26.79%
Complexity 1340 1340
==============================================
Files 361 361
Lines 9223 9223
Branches 851 851
==============================================
- Hits 7476 5006 -2470
- Misses 1747 4217 +2470 ☔ View full report in Codecov by Sentry. |
PILOS Run #1457
Run Properties:
|
Project |
PILOS
|
Branch Review |
fix-flaky-cypress-tests
|
Run status |
Passed #1457
|
Run duration | 11m 00s |
Commit |
878868c0e8: Fix flaky cypress tests
|
Committer | Sabrina Wüst |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
215
|
Skipped |
0
|
Passing |
112
|
View all changes introduced in this branch ↗︎ |
Overview1. Run (no modifications)
2. Run (no modifications)
3. Run (modifications RoomsViewSettings, RoomsViewMemberActions)
4. Run (change check order, add selection check, add click before select)
5. Run (type before selectall)
6. Run (no new changes)
7. Run (check class before selectall)
8. Run (remove typing before selectalll)
9. Run (change back check order)
10. Run (remove unneccessary clicks)
11. Run (Revert: remove unneccessary clicks)
12. Run (Add missing checks)
13. Run (Switch to checking focus)
14. Run (Use fewer checks to better represent user actions)
15. Run (Add waiting)
16. Run (Add additional checks for text selection)
17. Run (Add additional waiting)
18. Run (Remove waiting and add mor focus checks)
19. Run (Readd waiting)
19. Run (Remove waiting (edit description)
20. Run (Remove waiting (edit link)
21. Run (Add additional typing (edit link)
21. Run (Check with p)
22. Run (Check link with contains)
23. Run (Change other link tests)
24. Run (Change other link tests)
25. Run (Change other link tests)
26. Run (Skip edit description test and rerun link tests)
27. Run (Take back some changes for edit link test)
28. Run (Rerun tests)
29. Run (Retry selection)
30. Run (Improve text selection)
31. Run (Move select function to seperate file)
32. Run (Use select function in other tests)
33. Run (Use select function in other tests)
34. Run (Add function to clear tiptap content)
|
This reverts commit d8dccf1.
Tests failed sometimes because of timing issues. Main problem when fixing these tests is that tests never failed locally. RoomsViewSettings (transfer ownership)Failed because autofocus was not considered inside the tests. RoomsViewMemberActions (add new member)Test did not fail but autofocus was also not considered here. RoomsViewDescription, RoomsViewDescriptionTipTapEditor (edit description, edit link, add link, delete link)Mainly 2 reasons for failing tests. Second one mostly became an issue when unneccessary clicks and selections inside the tiptap where removed because they were not really needed and did not really represent the user actions.
|
c27ac5a
to
c5eb865
Compare
3f4b1bb
to
17dbf74
Compare
Fixes #
Type (Highlight the corresponding type)
Checklist
Changes