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

Fix e2e clearValue and add shouldClear to control clearing behavior #117

Merged
merged 8 commits into from
Oct 26, 2020

Conversation

gendeld
Copy link
Contributor

@gendeld gendeld commented Oct 22, 2020

No description provided.

@gendeld gendeld changed the title Puppeteer clear value alt Fix e2e clearValue and add shouldClear to control clearing behavior Oct 22, 2020
@gendeld gendeld marked this pull request as ready for review October 26, 2020 10:18
element.value = '';
}, element);
const { element } = await elem();
await element.click({clickCount: 3});
Copy link
Contributor

@GabiGrin GabiGrin Oct 26, 2020

Choose a reason for hiding this comment

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

why are 3 clicks needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

segment-boneyard/nightmare#810 (comment)
Triple click selects all input content

@GabiGrin GabiGrin merged commit 4028cb6 into master Oct 26, 2020
@GabiGrin
Copy link
Contributor

awesome @gendeld!

Successfully published:
 - @unidriver/[email protected]
 - @unidriver/[email protected]
 - @unidriver/[email protected]
 - @unidriver/[email protected]
 - @unidriver/[email protected]
 - @unidriver/[email protected]
 - @unidriver/[email protected]

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