https://docs.fastlane.tools/actions/testflight/
For the groups parameter of the upload_to_testflight doc it says:
Associate tester to one group or more by group name / group id. E.g. -g "Team 1","Team 2" This is required when distribute_external option is set to true or when we want to add a tester to one or more external testing groups
But groups is also for associating the uploaded build to the specified group, no? Should it say something like: "When a specific tester is specified, assigns them to the specified groups. When a build is being uploaded, this parameter controls adding the build to the specified group." (That'd need to be edited of course.)
It is also unclear if you need to set skip_waiting_for_build_processing to false for the latter to work properly?