17 lines
362 B
TypeScript
17 lines
362 B
TypeScript
import {browser, by, element} from 'protractor';
|
|
|
|
|
|
describe('Main Page Access', function () {
|
|
|
|
beforeEach(() => {
|
|
browser.get('/');
|
|
});
|
|
|
|
it('should open army overview initially', async () => {
|
|
const elem = element(by.css('h1'));
|
|
const text = elem.getText();
|
|
expect(text).toBe('Übersicht über alle Spieler, Squads und Armeen');
|
|
});
|
|
|
|
});
|