mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Canvas] Fix flaky custom element functional tests (#65908)
* Enable clearWithKeyboard option when filling out custom elements form * Added canvas functional tests path to CODEOWNERS Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
428fd06491
commit
9c11243563
2 changed files with 7 additions and 2 deletions
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
|
@ -78,6 +78,7 @@
|
|||
|
||||
# Canvas
|
||||
/x-pack/plugins/canvas/ @elastic/kibana-canvas
|
||||
/x-pack/test/functional/apps/canvas/ @elastic/kibana-canvas
|
||||
|
||||
# Observability UIs
|
||||
/x-pack/legacy/plugins/infra/ @elastic/logs-metrics-ui
|
||||
|
|
|
@ -33,8 +33,12 @@ export function CanvasPageProvider({ getService }: FtrProviderContext) {
|
|||
|
||||
async fillOutCustomElementForm(name: string, description: string) {
|
||||
// Fill out the custom element form and submit it
|
||||
await testSubjects.setValue('canvasCustomElementForm-name', name);
|
||||
await testSubjects.setValue('canvasCustomElementForm-description', description);
|
||||
await testSubjects.setValue('canvasCustomElementForm-name', name, {
|
||||
clearWithKeyboard: true,
|
||||
});
|
||||
await testSubjects.setValue('canvasCustomElementForm-description', description, {
|
||||
clearWithKeyboard: true,
|
||||
});
|
||||
|
||||
await testSubjects.click('canvasCustomElementForm-submit');
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue