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

17 lines
362 B
TypeScript
Raw 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(() => {
2018-03-07 11:56:50 +01:00
browser.get('/');
2017-05-21 02:16:09 +02:00
});
2017-09-03 12:49:59 +02:00
it('should open army overview initially', async () => {
2018-03-07 11:56:50 +01:00
const elem = element(by.css('h1'));
const text = elem.getText();
expect(text).toBe('Übersicht über alle Spieler, Squads und Armeen');
2017-05-21 02:16:09 +02:00
});
});