DSingh0304 commented on code in PR #3258:
URL: https://github.com/apache/apisix-dashboard/pull/3258#discussion_r2562839002


##########
e2e/tests/services.stream_routes.crud.spec.ts:
##########
@@ -24,6 +24,8 @@ import { expect } from '@playwright/test';
 import { deleteAllServices, postServiceReq } from '@/apis/services';
 import { deleteAllStreamRoutes } from '@/apis/stream_routes';
 
+test.describe.configure({ mode: 'serial' });

Review Comment:
   This configuration is necessary to ensure test stability and isolation. 
Since the global Playwright config enables fullyParallel: true, adding mode: 
'serial' is critical to prevent race conditions in this file, where tests share 
a single Service resource created in the beforeAll hook. Without it, concurrent 
test execution could lead to conflicts when reading or modifying that shared 
state.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to