Commit 2daaa513 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Allow to set the BASE_URL of the test with the `SELENIUM_BASE_URL` environment variable.

parent 18c85d08
......@@ -8,7 +8,10 @@ const {Builder, By, until} = require('selenium-webdriver'),
assert = require('assert'),
should = require('should');
const URL = "http://qfq.math.uzh.ch/selenium/mockup/typeahead.html";
const MOCK_PATH = "/mockup/typeahead.html";
const BASE_URL = process.env.SELENIUM_BASE_URL || "http://qfq.math.uzh.ch/selenium";
const URL = BASE_URL + MOCK_PATH;
test.describe('Typeahead', function () {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment