We use TestCafé to perform E2E-tests for a rather large management portal. Due to certain dependencies, creating or updating a resource can take up to 30 minutes, which is why we implemented loops checking for those results.
To save time, not every single test but mostly every fixture creates its own resource and then the test operations are performed on the same resource one after the other. But, because of the waiting loops, execution time is increasing rapidly with every new feature - which is why we tried introducing TestCafé's built-in concurrency feature, which did not work because tests of one fixture are executed in parallel so either a test tries to access a resource that does not exist yet or several tests modify the same resource at the same time.
TestCafé Feature Requests exist to add the possibility of assigning an order to tests and to add global setup/teardown methods, both of which would help solve our problem, but as of now neither is available. What other possibilities do we have to reduce execution time of our tests?
We do not have direct access to the system that is causing the long waits, we have to await a sync process after creating a resource.