attempt to diagnose travis-only e2e issues

This commit is contained in:
Art Lowel
2020-01-27 17:33:54 +01:00
parent ed11cb9f01
commit cab971211f
3 changed files with 25 additions and 20 deletions

View File

@@ -1,3 +1,4 @@
import { by, element } from 'protractor';
import { ProtractorPage } from './app.po';
describe('protractor App', () => {
@@ -13,7 +14,8 @@ describe('protractor App', () => {
});
it('should contain a news section', () => {
page.navigateTo();
page.navigateTo()
.then(() => element(by.css('.main-content')).getAttribute('innerHTML').then((v) => process.stdout.write(v)));
expect<any>(page.getHomePageNewsText()).toBeDefined();
});
});