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

17 lines
357 B
TypeScript

import {browser, by, element} from 'protractor';
describe('Main Page Access', function () {
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");
});
});