Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix playwright select interactive item #5013

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Mar 4, 2024

Try out this version of Leather — Extension build, Test report

The pointer-events: 'none'; fix #5005 had the unintended side effect of the clickable area being smaller than the background, which isn't good.

This PR removes that property, and manages to fix the test using the click({ force: true }) arg. (Edit: hadn't realised you also used this in your PR @fbwoolf 👍🏼 )

image

https://playwright.dev/docs/input

Also fixes padding issue on Select account page

@kyranjamie kyranjamie force-pushed the fix/item-interactive-clickable branch from 0bd0753 to fb7733b Compare March 4, 2024 10:51
Copy link
Contributor

@pete-watters pete-watters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code LGTM once the tests are passing. Thanks!

@kyranjamie kyranjamie force-pushed the fix/item-interactive-clickable branch from fb7733b to cde1ff7 Compare March 4, 2024 10:58
@kyranjamie kyranjamie added this pull request to the merge queue Mar 4, 2024
Merged via the queue into dev with commit d3adf14 Mar 4, 2024
28 checks passed
@kyranjamie kyranjamie deleted the fix/item-interactive-clickable branch March 4, 2024 11:20
@fbwoolf
Copy link
Contributor

fbwoolf commented Mar 4, 2024

Thx @kyranjamie, was a hard test failure for me to pinpoint problem over wkend. 👍

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.

3 participants