Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/homepage-tabs/e2e-spec.ts

18 lines
413 B
TypeScript
Raw Permalink Normal View History

chore(test): add protractor4 (#2233) * chore(test): add protractor4 * fix lint, remove boilerplate files, fix less gen * separate scripts between package.json * ignore a2docs.css in boilerplate * remove tslint in _examples
2016-10-06 23:25:52 +01:00
'use strict'; // necessary for es6 output in node
import { browser, element, by } from 'protractor';
docs(homepage): examples conform to std + e2e tests closes #740
2016-01-22 02:40:37 -08:00
describe('Homepage Tabs', function () {
beforeAll(function () {
browser.get('');
});
// Does it even launch?
chore: support e2e-specs written in TypeScript Update gulpfile and project to add a tsconfig to protractor test folders Change all sample e2e-spec.js -> e2e-spec.ts Split typings between e2e-spec & app code Use same config for all e2e tests Only 1/3 e2e specs truly converted. Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-30 11:05:09 -07:00
let expectedAppTitle = 'Tabs Demo';
chore: convert all e2e specs to typescript
2016-06-01 18:11:58 +02:00
it(`should display app title: ${expectedAppTitle}`, function () {
docs(homepage): examples conform to std + e2e tests closes #740
2016-01-22 02:40:37 -08:00
expect(element(by.css('h4')).getText()).toEqual(expectedAppTitle);
});
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 147ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API