You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) proposal-based invitation link has 7 days of expiry
14 passing (1m)
1 failing
1) Proposals - Add members
proposal-based invitation link has 7 days of expiry:
AssertionError: Timed out retrying after 30000ms: Expected to find element: `.c-title-wrapper select`, but never found i
I "fixed" this in this PR by using { bypassUI: true } here:
it(`proposal-based invitation link has ${groupInviteLinkExpiry.proposal} days of expiry`,()=>{// Expiry check in Group Settings page and Dashboardcy.giLogin(`user1-${userId}`,{bypassUI: true})
However, this test should pass with { bypassUI: false } too. In fact, it doesn't make any sense what's going on here, because in the video you can see it's as if user1 is joining the group for the first time when they're logging in, but they've already joined the group long before this!
So something serious is going wrong here.
Solution
See if you can get the test to fail on your local machine. Remove , { bypassUI: true } from that line there and run the tests locally with grunt dev and npx cypress run -c 'baseUrl=http://localhost:8000' --spec "test/cypress/integration/group-proposals.spec.js" (or just plain grunt test, which was how I was running it when I got the heisenbug).
Then identify the problem and fix it.
The text was updated successfully, but these errors were encountered:
Problem
This is a heisenbug that happens on my machine:
group-proposals.spec.js.mp4
I "fixed" this in this PR by using
{ bypassUI: true }
here:However, this test should pass with
{ bypassUI: false }
too. In fact, it doesn't make any sense what's going on here, because in the video you can see it's as ifuser1
is joining the group for the first time when they're logging in, but they've already joined the group long before this!So something serious is going wrong here.
Solution
See if you can get the test to fail on your local machine. Remove
, { bypassUI: true }
from that line there and run the tests locally withgrunt dev
andnpx cypress run -c 'baseUrl=http://localhost:8000' --spec "test/cypress/integration/group-proposals.spec.js"
(or just plaingrunt test
, which was how I was running it when I got the heisenbug).Then identify the problem and fix it.
The text was updated successfully, but these errors were encountered: