E2E: Trying to fix flake e2e (#26063)

This commit is contained in:
Torkel Ödegaard 2020-07-04 17:30:41 +02:00 committed by GitHub
parent d19d6128c9
commit c5cd9c5648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ const expectDrawerTabsAndContent = () => {
e2e.components.PanelInspector.Stats.content().should('not.be.visible'); e2e.components.PanelInspector.Stats.content().should('not.be.visible');
e2e.components.PanelInspector.Query.content().should('not.be.visible'); e2e.components.PanelInspector.Query.content().should('not.be.visible');
e2e().wait(250); e2e().wait(350);
/* Monaco Editor specific wait that fixes error below https://github.com/microsoft/monaco-editor/issues/354 /* Monaco Editor specific wait that fixes error below https://github.com/microsoft/monaco-editor/issues/354
TypeError: Cannot read property 'getText' of null TypeError: Cannot read property 'getText' of null
at Object.getFoldingRanges (http://localhost:3001/public/build/json.worker.js:18829:102) at Object.getFoldingRanges (http://localhost:3001/public/build/json.worker.js:18829:102)