-
Notifications
You must be signed in to change notification settings - Fork 37
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(messaging): fix inject error #551
Conversation
Adding tests for that function would be pretty easy. Should we do this now? |
Agreed that tests would be nice, but i'm not really used to DOM testing. Could be a good challenge for someone who implements new features in the future |
I was not thinking of DOM testing, but only testing some functions of inject.ts file. Here, the |
@spg Tests added. I disabled the firefox test because it's broken and has been for a long time, 6h running time is abusive. Fixing the real error should be done in a sepatate pr |
@allardy please add a ticket in Linear so we remember to fix the tests |
Pretty sure the error is related to the "isWebchatEvent" function... It was really too basic.
These event causes those errors:
Still need a way to test them correctly, since stratus uses the CDN, I didn't test "strictly", but logic looks fine.