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: input events triggered by playwright actions should have composed=true #28730

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Dec 20, 2023

Fixes #28726

This comment has been minimized.

@yury-s yury-s changed the title fix: selectOption should fire composed input fix: input events triggered by playwright actions should have composed=true Dec 21, 2023
@@ -732,7 +732,7 @@ export class InjectedScript {
if (element.nodeName.toLowerCase() === 'input') {
const input = element as HTMLInputElement;
const type = input.type.toLowerCase();
const kInputTypesToSetValue = new Set(['color', 'date', 'time', 'datetime', 'datetime-local', 'month', 'range', 'week']);
Copy link
Member Author

Choose a reason for hiding this comment

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

There is no such input type as 'datetime'.

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

Test results for "tests 1"

5 flaky ⚠️ [playwright-test] › ui-mode-test-ct.spec.ts:184:5 › should watch component
⚠️ [chromium] › library/tracing.spec.ts:243:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:243:5 › should not include trace resources from the previous chunks
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › library/tracing.spec.ts:243:5 › should not include trace resources from the previous chunks

21251 passed, 569 skipped
✔️✔️✔️

Merge workflow run.

@yury-s yury-s merged commit ff99aa3 into microsoft:main Dec 21, 2023
30 checks passed
@yury-s yury-s deleted the select-composed branch December 21, 2023 23:25
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.

[BUG] selectOption input event not composed when the actual browser event is
2 participants