refactor: move visitor creation to before/after blocks in livechat room tests#39289
refactor: move visitor creation to before/after blocks in livechat room tests#39289
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
…om tests Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
…solation Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
…block Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Done in 9881835. Consolidated all tests using a standard visitor into a single |
ggazzo
left a comment
There was a problem hiding this comment.
Could you create a mechanism that adds the rooms to an array and then removes them in the after event, to prevent the room removal process from failing?
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Done in 7a88808. Added a |
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #39289 +/- ##
===========================================
+ Coverage 70.89% 70.91% +0.01%
===========================================
Files 3208 3208
Lines 113431 113431
Branches 20569 20555 -14
===========================================
+ Hits 80416 80434 +18
+ Misses 30961 30948 -13
+ Partials 2054 2049 -5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/jira ARCH-1464 |
describe('livechat/room')into two sub-blocksbefore/afterhooks for visitor lifecycleroomsToCloseSet mechanism to collect room IDs for cleanuproomsToClose.add()calls beforeexpectstatements to ensure cleanup happens even if assertions failOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.