dynamicbible/app/db/e2e/src/app.e2e-spec.ts
Jason Wall b283898f8c initial start at porting ionic to angular material. this just deals with the website. i hate ionics new web components. despise isn't to strong a word.
this also introduces a redux pattern into the state management, which should significantly improve the complexity of the prev code.
2020-07-19 18:23:03 -04:00

24 lines
635 B
TypeScript

import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('db app is running!');
});
afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});