From c46b6e13c8ae340542811d2dd52fd3f6f7b5acec Mon Sep 17 00:00:00 2001 From: yasserfaraazkhan Date: Tue, 3 Feb 2026 12:06:47 +0530 Subject: [PATCH] lint --- .../playwright/.claude/agents/playwright-test-generator.md | 6 +++--- e2e-tests/playwright/autonomous-cli.ts | 1 - e2e-tests/playwright/lib/src/autonomous/spec_parser.ts | 4 +++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/e2e-tests/playwright/.claude/agents/playwright-test-generator.md b/e2e-tests/playwright/.claude/agents/playwright-test-generator.md index 569aa30e88a..3525d4e86b1 100644 --- a/e2e-tests/playwright/.claude/agents/playwright-test-generator.md +++ b/e2e-tests/playwright/.claude/agents/playwright-test-generator.md @@ -27,8 +27,8 @@ application behavior. multiple actions. - Always use best practices from the log when generating tests. - - For following plan: + + For following plan: ```markdown file=specs/plan.md ### 1. Adding New Todos @@ -62,4 +62,4 @@ application behavior. }); ``` - + diff --git a/e2e-tests/playwright/autonomous-cli.ts b/e2e-tests/playwright/autonomous-cli.ts index 7347716e1de..7e48a2fea24 100644 --- a/e2e-tests/playwright/autonomous-cli.ts +++ b/e2e-tests/playwright/autonomous-cli.ts @@ -210,7 +210,6 @@ ENVIRONMENT: // UI EXPLORATION (using Playwright accessibility tree) // ============================================================================= - /** * Cookie structure required by Playwright's storageState */ diff --git a/e2e-tests/playwright/lib/src/autonomous/spec_parser.ts b/e2e-tests/playwright/lib/src/autonomous/spec_parser.ts index 31fcca34f22..57e8a0917aa 100644 --- a/e2e-tests/playwright/lib/src/autonomous/spec_parser.ts +++ b/e2e-tests/playwright/lib/src/autonomous/spec_parser.ts @@ -286,7 +286,9 @@ export class SpecificationParser { const scenarios: BusinessScenario[] = (specData.scenarios || []).map((s: any, sIndex: number) => { if (!s.name) { - throw new Error(`Scenario ${sIndex + 1} in "${specData.name || specData.feature}" missing "name" field`); + throw new Error( + `Scenario ${sIndex + 1} in "${specData.name || specData.feature}" missing "name" field`, + ); } return { name: s.name,