mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* 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> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
a1c7cf1aa6
commit
b03e2bde32
1 changed files with 6 additions and 2 deletions
|
@ -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