I am trying to setup TestCafe test filtering based on an API response. Ideally, I'd like to execute the API call before the runner actually spins up so that I can specify a metadata filter to exclude based on enabled environment variables.
I am wondering if it is possible to execute an async API call to filter test data, or if I would need to do this somewhere else. I haven't found any resources that really delve into the limitations of the .js configuration file for this use case.
Much thanks in advance
Cheers