opt-cc/static/e2e/test.e2e-spec.ts

17 lines
356 B
TypeScript
Raw Normal View History

2017-05-21 02:16:09 +02:00
import {browser, element, by} from 'protractor';
describe('Main Page Access', function () {
2017-05-21 02:16:09 +02:00
beforeEach(() => {
browser.get('/')
});
it('should open army overview initially', async() => {
let elem = element(by.css('h1'));
let text = elem.getText();
expect(text).toBe("Übersicht über alle Spieler, Squads und Armeen");
2017-05-21 02:16:09 +02:00
});
});