The daily run of campaign events selenium tests against betacluster has been failing with the following error:
TypeError: Cannot read properties of undefined (reading 'includes')
at Object.addUserToGroup (/src/node_modules/wdio-mediawiki/Api.js:112:68)
at async Object.createOrganizerAccount (/src/tests/selenium/EventUtils.js:30:3)
at async Object.loginAsOrganizer (/src/tests/selenium/EventUtils.js:17:3)
at async Context.<anonymous> (/src/tests/selenium/specs/enableEventRegistration.js:13:3)when these tests are run locally, all tests pass.
I think we can delete the addUserToGroup function in EventUtils since the event-organizer right is included in admin now, but not fully sure. That is where the failure is occurring though.
