Run tests NOT in random order - unshuffle (original) (raw)

Clear and concise description of the problem

When global tests configuration shuffle is set to true to ensure tests isolation there is no way to run some specific test suite in non-random order.

This is required when you have long integration test which is split in multiple blocks, for example:

describe('long auth test with sequential order', ()=>{
   it('test 1 register', ()=>{})
   it('test 2 login', ()=>{})
   it('test 3 logout', ()=>{})
})

This is similar to #3731

Suggested solution

Add option describe.unshuffle to run specific test block in non-shuffled order

Alternative

Add logic to existing describe.sequential to run specific test block in non-shuffled order

Additional context

No response

Validations