mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-28 15:14:06 +00:00
fix: update header validation test to use triple-click for selecting all text (#7140)
This commit is contained in:
@@ -51,9 +51,8 @@ test.describe.serial('Header Validation', () => {
|
||||
const headerRow = page.locator('table tbody tr').first();
|
||||
const nameCell = getTableCell(headerRow, 0);
|
||||
|
||||
// Clear and enter a valid header name
|
||||
await nameCell.locator('.CodeMirror').click();
|
||||
await page.keyboard.press('Meta+a');
|
||||
// Clear and enter a valid header name - use triple-click to select all (works cross-platform)
|
||||
await nameCell.locator('.CodeMirror').click({ clickCount: 3 });
|
||||
await nameCell.locator('textarea').fill('Valid-Header');
|
||||
|
||||
// Verify the error icon is not visible
|
||||
|
||||
Reference in New Issue
Block a user