DEV Community

Murali Tallapudi
Murali Tallapudi

Posted on

i want to run 2 test groups in sequential , how ever the test cases in each group should run in parallel.

i want to run 2 test groups in sequential , how ever the test cases in each group should run in parallel. is there way in playwright to achieve this?.

below is the example.

i want to run group1 & group2 in sequential.
test1,test2,test3 should run in parallel.

after this , test4,test5,test6 should run in parallel.

test.group('group1', () => {

test('test1',() => {
});

test('test2',() => {
});

test('test3',() => {
});

});

test.group('group2', () => {

test('test4',() => {
});

test('test5',() => {
});

test('test6',() => {
});

});

Top comments (0)