diff --git a/test/browser/simple-vertical-list-with-keyboard.spec.js b/test/browser/simple-vertical-list-with-keyboard.spec.js index d368cc3a98..b1d5284f9f 100644 --- a/test/browser/simple-vertical-list-with-keyboard.spec.js +++ b/test/browser/simple-vertical-list-with-keyboard.spec.js @@ -10,6 +10,10 @@ const urlSingleList: string = 'http://localhost:9002/iframe.html?selectedKind=si const timeout: number = 60000; +/* To avoid async callback from jest.setTimeout */ +/* Background: https://stackoverflow.com/questions/49603939/jest-async-callback-was-not-invoked-within-the-5000ms-timeout-specified-by-jest */ +jest.setTimeout(timeout); + type Selector = string; const returnPositionAndText = async (page: Object, selector: Selector) =>