Skip to content

Fix iframe selector for Charlotte AI compatibility#121

Merged
mraible merged 1 commit intomainfrom
fix-iframe-selector
Apr 8, 2026
Merged

Fix iframe selector for Charlotte AI compatibility#121
mraible merged 1 commit intomainfrom
fix-iframe-selector

Conversation

@mraible
Copy link
Copy Markdown
Contributor

@mraible mraible commented Apr 8, 2026

Charlotte AI now adds a second iframe to Falcon console pages, causing Playwright's strict mode to fail with locator('iframe') resolved to 2 elements. This targets the Foundry app extension iframe specifically using iframe[name="portal"].

Validated locally: all 8 e2e tests pass.

Use iframe[name="portal"] instead of bare iframe selector to avoid
strict mode violation when Charlotte AI adds a second iframe to the page.
@mraible mraible requested a review from a team April 8, 2026 17:12
@mraible mraible merged commit 8e88e60 into main Apr 8, 2026
18 checks passed
@mraible mraible deleted the fix-iframe-selector branch April 8, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants