This is not possible. All tests are isolated from each other and should not re-use resources, the order of tests execution is not defined. This is to allow the parallel tests running, where tests that are later in the list can actually already be running in the other worker (thread).
You can achieve what you want with code re-use. Split your scenario into parts, every part can be presented with a test function. Create a library of such "sub-scenarios". Then in the actual test import the required "sub-scenarios" and execute them in the required order.
For example:
Lets say before every test you want to login into the system. You can create a function:
I ended up using runCore : 'sequential', because the startup time of each test is different.
I cannot really say when the method Ext.app.Application.launch finishes and trying to run several tests at the same time lets the first one always fail. If rerun on its own, it works.
Re: One-time pageUrl per Group
Posted: Mon Jan 25, 2021 11:28 am
by nickolay
Yes, if tests requires focus (pretty much all tests with type) they need to be run sequentially, because focus can be only in one place.