aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/tab.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-06-17 15:43:53 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-06-17 15:43:53 +0900
commit70ed31f35e1323706b26406ac6471679007051d9 (patch)
treeee8639c5d6b9ae366676521dbf433b9f697ef99d /e2e/contents/tab.test.js
parentd6dc869d1f785b628b193d69e698602bbe83a787 (diff)
Rewrite e2e tests with async/await
Diffstat (limited to 'e2e/contents/tab.test.js')
-rw-r--r--e2e/contents/tab.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2e/contents/tab.test.js b/e2e/contents/tab.test.js
index 3b2e7b5..2d7f548 100644
--- a/e2e/contents/tab.test.js
+++ b/e2e/contents/tab.test.js
@@ -92,7 +92,7 @@ describe("tab test", () => {
await tabs.create(targetWindow.id, CLIENT_URL + '#2');
await tabs.create(targetWindow.id, CLIENT_URL + '#3');
let tab = await tabs.selectAt(targetWindow.id, 2);
- await keys.press(tab.id, 'g').then(() => tab);
+ await keys.press(tab.id, 'g');
await keys.press(tab.id, '0');
let win = await windows.get(targetWindow.id);