summary refs log tree commit diff
path: root/webclient/test/protractor.conf.js
blob: 720096b3906f35982b8300ad27540a924f9d9a9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
var env = require("./environment-protractor.js");
exports.config = {
    seleniumAddress: env.seleniumAddress,
    specs: ['e2e/*.spec.js'],
    onPrepare: function() {
        browser.driver.get(env.loginUrl);
        browser.driver.findElement(by.id("user_id")).sendKeys(env.username);
        browser.driver.findElement(by.id("password")).sendKeys(env.password);
        browser.driver.findElement(by.id("login")).click();
    }
}