mirror of
https://github.com/Raghu-Ch/weirdbeard.life.git
synced 2026-02-10 04:33:02 -05:00
Initial commit
This commit is contained in:
14
e2e/app.e2e-spec.ts
Normal file
14
e2e/app.e2e-spec.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Weirdbeard.LifePage } from './app.po';
|
||||
|
||||
describe('weirdbeard.life App', () => {
|
||||
let page: Weirdbeard.LifePage;
|
||||
|
||||
beforeEach(() => {
|
||||
page = new Weirdbeard.LifePage();
|
||||
});
|
||||
|
||||
it('should display message saying app works', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getParagraphText()).toEqual('wb works!');
|
||||
});
|
||||
});
|
||||
11
e2e/app.po.ts
Normal file
11
e2e/app.po.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { browser, by, element } from 'protractor';
|
||||
|
||||
export class Weirdbeard.LifePage {
|
||||
navigateTo() {
|
||||
return browser.get('/');
|
||||
}
|
||||
|
||||
getParagraphText() {
|
||||
return element(by.css('wb-root h1')).getText();
|
||||
}
|
||||
}
|
||||
12
e2e/tsconfig.e2e.json
Normal file
12
e2e/tsconfig.e2e.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../out-tsc/e2e",
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"types": [
|
||||
"jasmine",
|
||||
"node"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user