fix name setting (#137686)

This commit is contained in:
Joe Reuter 2022-08-03 20:27:11 +02:00 committed by GitHub
parent 8e002ced89
commit 241e469690
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.lens.goToTimeRange();
await PageObjects.lens.switchToVisualization('lnsDatatable');
await PageObjects.lens.clickAddField();
await fieldEditor.setName(`ab' "'`);
await fieldEditor.setName(`ab' "'`, true, true);
await fieldEditor.enableValue();
await fieldEditor.typeScript("emit('abc')");
await fieldEditor.save();