mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-24 20:03:18 +00:00
72fd2dd22d
Various small fixes
24 lines
674 B
TypeScript
24 lines
674 B
TypeScript
import { FusePage } from './app.po';
|
|
import { browser, logging } from 'protractor';
|
|
|
|
describe('Fuse App', () => {
|
|
let page: FusePage;
|
|
|
|
beforeEach(() => {
|
|
page = new FusePage();
|
|
});
|
|
|
|
it('should display welcome message', () => {
|
|
page.navigateTo();
|
|
expect(page.getParagraphText()).toEqual('Welcome to Fuse!');
|
|
});
|
|
|
|
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));
|
|
});
|
|
});
|