mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
parent
503a954435
commit
7294d9cb6c
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
* Public License, v 1.
|
||||
*/
|
||||
|
||||
import { delay } from 'bluebird';
|
||||
import { cloneDeepWith } from 'lodash';
|
||||
import { Key, Origin } from 'selenium-webdriver';
|
||||
// @ts-ignore internal modules are not typed
|
||||
|
@ -296,11 +297,13 @@ export async function BrowserProvider({ getService }: FtrProviderContext) {
|
|||
dispatchEvent(target, dropEvent, dragStartEvent.dataTransfer);
|
||||
const dragEndEvent = createEvent('dragend');
|
||||
dispatchEvent(origin, dragEndEvent, dropEvent.dataTransfer);
|
||||
}, 50);
|
||||
}, 100);
|
||||
`,
|
||||
from,
|
||||
to
|
||||
);
|
||||
// wait for 150ms to make sure the script has run
|
||||
await delay(150);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue