Insert sleep

jh-changes
Shin'ya Ueoka 7 years ago
parent d478aec284
commit a8d3de4243
  1. 2
      e2e/contents/navigate.test.js

@ -25,6 +25,8 @@ describe("navigate test", () => {
return keys.press(targetTab.id, 'g'); return keys.press(targetTab.id, 'g');
}).then(() => { }).then(() => {
return keys.press(targetTab.id, 'u'); return keys.press(targetTab.id, 'u');
}).then(() => {
return new Promise(resolve => { setTimeout(() => resolve(), 10) });
}).then(() => { }).then(() => {
return tabs.get(targetTab.id); return tabs.get(targetTab.id);
}).then((tab) => { }).then((tab) => {