aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/scroll.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/contents/scroll.test.js')
-rw-r--r--e2e/contents/scroll.test.js19
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');
+ });
+});