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

17 lines
357 B
TypeScript
Raw Permalink Normal View History

2017-09-03 12:49:59 +02:00
import {browser, by, element} from 'protractor';
2017-05-21 02:16:09 +02:00
describe('Main Page Access', function () {
2017-05-21 02:16:09 +02:00
beforeEach(() => {
browser.get('/')
});
2017-09-03 12:49:59 +02:00
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
});
});