[TSVB] Fixes firefox flakiness on index pattern mode functional test (#106825)

This commit is contained in:
Stratoula Kalafateli 2021-07-27 16:51:05 +03:00 committed by GitHub
parent c656608d85
commit 12c8d2dfcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -521,6 +521,7 @@ export class VisualBuilderPageObject extends FtrService {
if (useKibanaIndices === false) {
const el = await this.testSubjects.find(metricsIndexPatternInput);
el.focus();
await el.clearValue();
if (value) {
await el.type(value, { charByChar: true });