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
this is a little subtle—the banner always exists, we just move it out of the screen so that we can animate it. the odd thing is that without this change, the env would end up as
showing both the modal and overlay. I think what is happening is
the page loads, the banner does not appear yet because it is still animating in
cypress clicks on the modal link, so the modal opens (also sets that the banner should not be open, but I think at this point the banner isn't technically open yet because of delayBanner)
now the banner has finished animating so both the modal and banner are open!
by waiting for the banner to be visible, that delays cypress enough so that the banner is set to open, then the logic all works accordingly.
this is probably a bug, so maybe it should be skipped instead of the fix I put in 🤔 let me know what you think @eastandwestwind . I think if a user were very speedy, they could trigger this by clicking on the modal link before the banner has appeared
showing both the modal and overlay. I think what is happening is
delayBanner
)by waiting for the banner to be visible, that delays cypress enough so that the banner is set to open, then the logic all works accordingly.
this is probably a bug, so maybe it should be skipped instead of the fix I put in 🤔 let me know what you think @eastandwestwind . I think if a user were very speedy, they could trigger this by clicking on the modal link before the banner has appeared
Originally posted by @allisonking in #3487 (comment)
The text was updated successfully, but these errors were encountered: