Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63277328
app.e2e-spec.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 19, 00:03
Size
652 B
Mime Type
text/x-java
Expires
Tue, May 21, 00:03 (2 d)
Engine
blob
Format
Raw Data
Handle
17754231
Attached To
rSVGTESTAPP svg-test-app
app.e2e-spec.ts
View Options
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 initialContent', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('svg-test-app 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));
});
});
Event Timeline
Log In to Comment