17 lines
356 B
TypeScript
17 lines
356 B
TypeScript
import {browser, element, by} 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");
|
|
});
|
|
|
|
});
|