diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-02-04 19:27:22 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-02-04 19:27:22 +0900 |
commit | f6f64297aa030cd3fbad4bbb9e322e469bc762e8 (patch) | |
tree | 02ad2374c6e7060c7f13658e7dd4c3c0d99b5b9f /e2e/contents | |
parent | bb5b6d367cdd19a1d81c78cf8a79c47520ca469e (diff) |
first webextension test
Diffstat (limited to 'e2e/contents')
-rw-r--r-- | e2e/contents/scroll.test.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/e2e/contents/scroll.test.js b/e2e/contents/scroll.test.js new file mode 100644 index 0000000..6cf0042 --- /dev/null +++ b/e2e/contents/scroll.test.js @@ -0,0 +1,19 @@ +import { expect } from "chai"; +import * as windows from "../ambassador/src/client/windows"; + +describe("scroll test", () => { + let targetWindow; + before(() => { + return windows.create().then((win) => { + targetWindow = win; + }); + }); + + after(() => { + return windows.remove(targetWindow.id); + }); + + it('runs test', () => { + expect(targetWindow.id).be.a('number'); + }); +}); |