E2E Defect: tooltip.spec.ts:169:6 tooltip does not trap focus #41

Open
opened 2026-02-14 02:03:51 +00:00 by santhoshj · 0 comments
Owner

Automated regression reported this failure from Playwright artifacts.

Defect Details

  • Case key: tooltip.spec.ts:169:6 tooltip does not trap focus
  • Suite: capabilities\microinteractions\tooltip.spec.ts
  • Test: Contact Email Tooltip @smoke › tooltip does not trap focus
  • Failure frequency: 8

Error Message

[smoke-chromium] › capabilities\microinteractions\tooltip.spec.ts:169:6 › Contact Email Tooltip @smoke › tooltip does not trap focus       TypeError: contactLink.isFocused is not a function        193 |       194 | 		// Focus should have moved     > 195 | 		const isStillFocused = await contactLink.isFocused();           | 		                                         ^       196 | 		expect(isStillFocused).toBe(false);       197 | 	});       198 | });         at C:\dev\claws\e2e\tests\capabilities\microinteractions\tooltip.spec.ts:195:44      attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────

Evidence (Screenshots/Error Context)

  • e2e/test-results/capabilities-microinteract-b683c-tooltip-does-not-trap-focus-smoke-chromium\test-failed-1.png
  • e2e/test-results/capabilities-microinteract-b683c-tooltip-does-not-trap-focus-smoke-chromium\error-context.md

Root Cause Analysis

Test code calls unsupported locator API (isFocused) causing immediate failure.

Automated regression reported this failure from Playwright artifacts. ## Defect Details - Case key: `tooltip.spec.ts:169:6 tooltip does not trap focus` - Suite: `capabilities\microinteractions\tooltip.spec.ts` - Test: `Contact Email Tooltip @smoke › tooltip does not trap focus` - Failure frequency: 8 ## Error Message ```text [smoke-chromium] › capabilities\microinteractions\tooltip.spec.ts:169:6 › Contact Email Tooltip @smoke › tooltip does not trap focus TypeError: contactLink.isFocused is not a function 193 | 194 | // Focus should have moved > 195 | const isStillFocused = await contactLink.isFocused(); | ^ 196 | expect(isStillFocused).toBe(false); 197 | }); 198 | }); at C:\dev\claws\e2e\tests\capabilities\microinteractions\tooltip.spec.ts:195:44 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── ``` ## Evidence (Screenshots/Error Context) - `e2e/test-results/capabilities-microinteract-b683c-tooltip-does-not-trap-focus-smoke-chromium\test-failed-1.png` - `e2e/test-results/capabilities-microinteract-b683c-tooltip-does-not-trap-focus-smoke-chromium\error-context.md` ## Root Cause Analysis Test code calls unsupported locator API (`isFocused`) causing immediate failure.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: santhoshj/clawfort#41