fix: update header validation test to use triple-click for selecting all text (#7140)

This commit is contained in:
Bijin A B
2026-02-14 01:40:51 +05:30
committed by GitHub
parent e000e377d1
commit 0c3b828b09

View File

@@ -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