test(websocket): update BRU_FILE_NAME to use regex

Changed BRU_FILE_NAME from a string to a regex pattern for better matching.
This commit is contained in:
Siddharth Gelera
2025-09-18 17:42:02 +05:30
parent a99087b671
commit b61bcacabf

View File

@@ -1,7 +1,7 @@
import { test, expect, Page } from '../../playwright';
import { test, expect } from '../../playwright';
import { buildCommonLocators } from './lib/locators';
const BRU_FILE_NAME = 'ws-test-request-with-headers';
const BRU_FILE_NAME = /^ws-test-request-with-headers$/;
test.describe.serial('headers', () => {
test.setTimeout(2 * 10 * 1000);