aboutsummaryrefslogtreecommitdiff
path: root/e2e/zoom.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/zoom.test.js')
-rw-r--r--e2e/zoom.test.js17
1 files changed, 1 insertions, 16 deletions
diff --git a/e2e/zoom.test.js b/e2e/zoom.test.js
index bc89628..e8e586e 100644
--- a/e2e/zoom.test.js
+++ b/e2e/zoom.test.js
@@ -6,20 +6,8 @@ const eventually = require('./eventually');
const Key = lanthan.Key;
-const newApp = () => {
- let app = express();
- app.get('/', (req, res) => {
- res.send(`<!DOCTYPEhtml>
-<html lang="en">
-</html">`);
- });
- return app;
-};
-
describe("zoom test", () => {
- const port = 12321;
- let http;
let firefox;
let session;
let browser;
@@ -27,8 +15,6 @@ describe("zoom test", () => {
let body;
before(async() => {
- http = newApp().listen(port);
-
firefox = await lanthan.firefox();
await firefox.session.installAddon(path.join(__dirname, '..'));
session = firefox.session;
@@ -40,11 +26,10 @@ describe("zoom test", () => {
if (firefox) {
await firefox.close();
}
- http.close();
});
beforeEach(async() => {
- await session.navigateTo(`http://127.0.0.1:${port}`);
+ await session.navigateTo('about:blank');
body = await session.findElementByCSS('body');
});