Skip to content

fix(ci): revert .first() to .first in migration UI test_01_open_flow - #215

Merged
lice-reis merged 1 commit into
mainfrom
fix/migration-ui-first-locator
May 11, 2026
Merged

fix(ci): revert .first() to .first in migration UI test_01_open_flow#215
lice-reis merged 1 commit into
mainfrom
fix/migration-ui-first-locator

Conversation

@lice-reis

Copy link
Copy Markdown
Collaborator

Problem

PR #212 incorrectly changed canvas.first to canvas.first(). In Playwright Python, locator.first is a property (not a method), so calling it with () raises:

TypeError: 'Locator' object is not callable

Fix

Reverted canvas.first() back to canvas.first. The 5s wait and 20s timeout from PR #212 are kept.

🤖 Generated with Claude Code

Playwright Python locator.first is a property, not a method.
.first() introduced a TypeError — reverted to .first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lice-reis
lice-reis merged commit b761d0a into main May 11, 2026
2 checks passed
@Victor-w-Madeira
Victor-w-Madeira deleted the fix/migration-ui-first-locator branch May 18, 2026 19:21
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.

1 participant