aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/zoom.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-10-20 16:43:38 +0900
committerGitHub <noreply@github.com>2018-10-20 16:43:38 +0900
commitdf9094e52066fb85a06d373cb3a82b670d69c88e (patch)
treee71ff2bb27b0946e79d80d64b5141653c8d69162 /e2e/contents/zoom.test.js
parent958b931090e0cc012e36a9361ea6e4cd9be1471d (diff)
parent7acbdbfef25d04503d4a31dfa1953be29323cc87 (diff)
Merge pull request #492 from ueokande/qa-0.19
QA 0.19
Diffstat (limited to 'e2e/contents/zoom.test.js')
-rw-r--r--e2e/contents/zoom.test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/e2e/contents/zoom.test.js b/e2e/contents/zoom.test.js
index 2d90e28..74d4f56 100644
--- a/e2e/contents/zoom.test.js
+++ b/e2e/contents/zoom.test.js
@@ -23,6 +23,7 @@ describe("zoom test", () => {
let before = await tabs.getZoom(targetTab.id);
await keys.press(targetTab.id, 'z');
await keys.press(targetTab.id, 'i');
+ await new Promise(resolve => setTimeout(resolve, 100));
let actual = await tabs.getZoom(targetTab.id);
expect(actual).to.be.greaterThan(before);
@@ -32,6 +33,7 @@ describe("zoom test", () => {
let before = await tabs.getZoom(targetTab.id);
await keys.press(targetTab.id, 'z');
await keys.press(targetTab.id, 'o');
+ await new Promise(resolve => setTimeout(resolve, 100));
let actual = await tabs.getZoom(targetTab.id);
expect(actual).to.be.lessThan(before);
@@ -42,6 +44,7 @@ describe("zoom test", () => {
let before = await tabs.getZoom(targetTab.id);
await keys.press(targetTab.id, 'z');
await keys.press(targetTab.id, 'z');
+ await new Promise(resolve => setTimeout(resolve, 100));
let actual = await tabs.getZoom(targetTab.id);
expect(actual).to.be.lessThan(before);