This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/test/e2e/sanity.scenario.ts

20 lines
439 B
TypeScript
Raw Normal View History

2019-11-12 16:09:47 +00:00
import { browser } from 'protractor';
import { appHost } from '../protractor.conf';
describe("sanity test", () => {
beforeEach(() => {
browser.get(appHost);
});
it("loads home view with no AngularJS errors", () => {
browser.manage().logs().get('browser')
.then((browserLog: any) => {
browserLog.forEach((log: any) => {
expect(log.message).not.toContain("angular");
});
});
});
});