Commit c469007
committed
test(cypress): fix Has share activity race condition
Skip the re-navigation to /apps/files after createPublicShare.
The share is already recorded server-side (cy.wait('@createshare')) and
the sidebar is closed, so showActivityTab can be called directly.
Re-navigating caused NC to async-load the share badge on the file row,
which triggered a Vue re-render that closed the Actions menu before the
details entry could be clicked — failing even with a 10s timeout.
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>1 parent 333572c commit c469007
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
0 commit comments