-
Notifications
You must be signed in to change notification settings - Fork 11k
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: CSP
error right after setInlineScriptsAllowed
#32108
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #32108 +/- ##
===========================================
- Coverage 54.70% 54.27% -0.44%
===========================================
Files 2298 2255 -43
Lines 50765 49959 -806
Branches 10394 10167 -227
===========================================
- Hits 27770 27114 -656
+ Misses 20493 20374 -119
+ Partials 2502 2471 -31
Flags with carried forward coverage won't be shown. Click here to find out more. |
c3de1e7
to
724599c
Compare
724599c
to
3b9c1b4
Compare
setInlineScriptsAllowed
CSP
error right after setInlineScriptsAllowed
* develop: (71 commits) fix: search room not reactive after room name changes (#32123) test: fix `should edit name of targetChannel` flaky test (#32121) fix: UI allowing to mark room as favorite despite room was not a `default` room (#32063) chore: Remove duplicated `ChannelDeletionTable` (#32114) test(livechat): fix Department flaky test (#32102) test(livechat): File upload settings (#32060) test: contact center after hook calling wrong endpoint (#32094) fix(livechat): registering guest multiple times cause message loss (#32069) test: allow csp for livechat tests (#32116) chore: Move portals to the portals folder (#32090) test: `InitialData.insertAdminUserFromEnv` (#32066) fix: `CSP` error right after `setInlineScriptsAllowed` (#32108) chore: Create/Edit room consistency (#31960) chore: Remove references to EE code from the app events (#31926) test(Livechat): Clean up after registerGuest() test (#32092) test: make presence api tests fully independent (#31782) test: make roles fully independent (#31783) chore: bump version to 7.0.0-develop test: make login api tests fully independent (#31786) fix!: api login should not suggest which credential is wrong (#32086) ...
* origin: refactor: `TeamsChannels` to typescript (#32109) fix: search room not reactive after room name changes (#32123) test: fix `should edit name of targetChannel` flaky test (#32121) fix: UI allowing to mark room as favorite despite room was not a `default` room (#32063) chore: Remove duplicated `ChannelDeletionTable` (#32114) test(livechat): fix Department flaky test (#32102) test(livechat): File upload settings (#32060) test: contact center after hook calling wrong endpoint (#32094) fix(livechat): registering guest multiple times cause message loss (#32069) test: allow csp for livechat tests (#32116) chore: Move portals to the portals folder (#32090) test: `InitialData.insertAdminUserFromEnv` (#32066) fix: `CSP` error right after `setInlineScriptsAllowed` (#32108)
Looks like this PR is not ready to merge, because of the following issues:
|
Looks like this PR is not ready to merge, because of the following issues:
|
Proposed changes (including videos or screenshots)
setInlineScriptsAllowed
is an asynchronous function, calling it and forgetting generally works, however in some cases of intensive CPU use, the next requests may receive invalid contentIn real life it happens very rarely, but it happens a lot 🤣 (CI tasks)
it fixes flaky tests like:
1) omnichannel/omnichannel-livechat-department.spec.ts:69:6 › OC - Livechat - Department Flow › OC - Livechat - Chat with Department
which is a test which the previous suite changed the valueIssue(s)
Steps to test or reproduce
Further comments