[scout tests] fix flaky FieldName typing for MKI#249754
Merged
dmlemeshko merged 4 commits intoelastic:mainfrom Jan 22, 2026
Merged
[scout tests] fix flaky FieldName typing for MKI#249754dmlemeshko merged 4 commits intoelastic:mainfrom
dmlemeshko merged 4 commits intoelastic:mainfrom
Conversation
dmlemeshko
commented
Jan 21, 2026
|
|
||
| async typeFieldName(value: string) { | ||
| await this.page.testSubj.typeWithDelay('streamsAppSchemaEditorAddFieldFlyoutFieldName', value, { | ||
| delay: 75, |
Contributor
Author
There was a problem hiding this comment.
75 ms simulates user typing experience
mohamedhamed-ahmed
approved these changes
Jan 21, 2026
Contributor
mohamedhamed-ahmed
left a comment
There was a problem hiding this comment.
LGTM! Thanks for fixing and cleaning this :)
Contributor
|
Hi @dmlemeshko, is this similar to changes made in #249617? |
Contributor
Author
Hi @CoenWarmer , not really. My changes are scoped to particular input field and in your PR it was untouched: Btw great to see API scout tests were addede, hope to see more UI -> API migration whenever possible. |
shahzad31
approved these changes
Jan 22, 2026
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
|
yuliia-fryshko
pushed a commit
to yuliia-fryshko/kibana
that referenced
this pull request
Jan 22, 2026
## Summary
While running tests on MKI we see flakiness related to typing Field
Name:
```
Error: expect(locator).toHaveValue(expected) failed
Locator: locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
Expected: "ip"
Received: ""
Timeout: 10000ms
Call log:
- Expect "toHaveValue" with timeout 10000ms
- waiting for locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
14 × locator resolved to <input value="" type="hidden"/>
- unexpected value ""
at x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/data_management/data_mapping/wired_streams_schema.spec.ts:111:80
```
<img width="1280" height="720" alt="image"
src="https://github.com/user-attachments/assets/ce6b7ffe-6a72-405f-a76d-4cc8da9c3d53"
/>
This PR uses typing with delay that is closer to end-user experience and
should be more stable (reasonably slower)
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Jan 22, 2026
## Summary
While running tests on MKI we see flakiness related to typing Field
Name:
```
Error: expect(locator).toHaveValue(expected) failed
Locator: locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
Expected: "ip"
Received: ""
Timeout: 10000ms
Call log:
- Expect "toHaveValue" with timeout 10000ms
- waiting for locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
14 × locator resolved to <input value="" type="hidden"/>
- unexpected value ""
at x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/data_management/data_mapping/wired_streams_schema.spec.ts:111:80
```
<img width="1280" height="720" alt="image"
src="https://github.com/user-attachments/assets/ce6b7ffe-6a72-405f-a76d-4cc8da9c3d53"
/>
This PR uses typing with delay that is closer to end-user experience and
should be more stable (reasonably slower)
dennis-tismenko
pushed a commit
to dennis-tismenko/kibana
that referenced
this pull request
Jan 22, 2026
## Summary
While running tests on MKI we see flakiness related to typing Field
Name:
```
Error: expect(locator).toHaveValue(expected) failed
Locator: locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
Expected: "ip"
Received: ""
Timeout: 10000ms
Call log:
- Expect "toHaveValue" with timeout 10000ms
- waiting for locator('.euiSuperSelect').filter({ has: locator('[data-test-subj="streamsAppFieldFormTypeSelect"]').first() }).locator('input[type="hidden"]')
14 × locator resolved to <input value="" type="hidden"/>
- unexpected value ""
at x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/data_management/data_mapping/wired_streams_schema.spec.ts:111:80
```
<img width="1280" height="720" alt="image"
src="https://github.com/user-attachments/assets/ce6b7ffe-6a72-405f-a76d-4cc8da9c3d53"
/>
This PR uses typing with delay that is closer to end-user experience and
should be more stable (reasonably slower)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
While running tests on MKI we see flakiness related to typing Field Name:
This PR uses typing with delay that is closer to end-user experience and should be more stable (reasonably slower)