-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
test: refactor API E2E tests for groups endpoints #30523
Conversation
|
Codecov Report
@@ Coverage Diff @@
## develop #30523 +/- ##
===========================================
- Coverage 50.93% 50.77% -0.17%
===========================================
Files 809 803 -6
Lines 15016 14995 -21
Branches 2724 2720 -4
===========================================
- Hits 7649 7614 -35
- Misses 6958 6960 +2
- Partials 409 421 +12
Flags with carried forward coverage won't be shown. Click here to find out more. |
…e/translationCdn * 'develop' of github.com:RocketChat/Rocket.Chat: (117 commits) chore: do not focus messagebox on mobile devices (#30553) chore: add the new endpoints to sync with cloud (#30546) fix: in forward search field, user cannot be found by name (Full Name) (#29663) chore: set license public key v3 with v2 (#30548) chore: adjust callbacks return type (#30547) chore: Delete Trigger Endpoint (#30533) test: adding missing verifications on message-actions (#30531) refactor: Oembed backend (#30228) test: refactor API E2E tests for groups endpoints (#30523) test: adding missing verifications on threads (#30528) chore: refactor cloud sync (#30401) refactor: Omni logs (#30322) refactor: Livechat Header -> ts (#30255) chore: Deprecate un-used meteor method for omnichannel analytics (#30421) feat: add supported versions + minimum clients versions to the info endpoint (#30178) feat: Auto-enable autotranslate (#30370) chore: Prevent call license and registration status endpoints when not enough permission (#30336) ci: Security/GitHub jira integration (#29776) feat: License V3 (#30287) chore: move Omnichannel toolbox section from sidebar room list (#30502) ...
Proposed changes (including videos or screenshots)
I needed to add a few new tests and realised the whole file was being executed in many weird ways. So I refactor it to use
describe
correctly for each endpoint. I also added a few clean up routines but it is still not covering all tests.Some tests were depending on the setting
E2E_Enable
to be set astrue
, but I don't know how they were "working" since it was not being set anymore. This issue started to happen when I useddescribe
for all tests. I wonder if some failures were hidden previsouly.Issue(s)
Steps to test or reproduce
Further comments