summary refs log tree commit diff
path: root/syweb/webclient/test/e2e/home.spec.js
blob: 470237d557461baa994717885e8860ac03fa30ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var env = require("../environment-protractor.js");

describe("home page", function() {

    beforeEach(function() {
        ptor = protractor.getInstance();
        // FIXME we use longpoll on the event stream, and I can't get $interval
        // playing nicely with it. Patches welcome to fix this.
        ptor.ignoreSynchronization = true;
    }); 

    it("should have a title", function() {
        browser.get(env.baseUrl);
        expect(browser.getTitle()).toEqual("[matrix]");
    });
});