source: Farmatiko/wwwroot/e2e/src/app.e2e-spec.ts@ b36a754

Last change on this file since b36a754 was b36a754, checked in by Your Name <you@…>, 4 years ago

Angular app created

  • Property mode set to 100644
File size: 642 bytes
Line 
1import { AppPage } from './app.po';
2import { browser, logging } from 'protractor';
3
4describe('workspace-project App', () => {
5 let page: AppPage;
6
7 beforeEach(() => {
8 page = new AppPage();
9 });
10
11 it('should display welcome message', () => {
12 page.navigateTo();
13 expect(page.getTitleText()).toEqual('farmatiko app is running!');
14 });
15
16 afterEach(async () => {
17 // Assert that there are no errors emitted from the browser
18 const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 expect(logs).not.toContain(jasmine.objectContaining({
20 level: logging.Level.SEVERE,
21 } as logging.Entry));
22 });
23});
Note: See TracBrowser for help on using the repository browser.