Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 11cfbee

Browse files
committed
wip update to 4.0.9
1 parent 7ad0a11 commit 11cfbee

File tree

48 files changed

+83
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+83
-102
lines changed

public/docs/_examples/_boilerplate/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"experimentalDecorators": true,
99
"removeComments": false,
1010
"noImplicitAny": true,
11-
"suppressImplicitAnyIndexErrors": true
11+
"suppressImplicitAnyIndexErrors": true,
12+
"types": []
1213
}
1314
}

public/docs/_examples/animations/e2e-spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
4-
import { ElementFinder } from 'protractor';
3+
import { browser, element, by, ElementFinder } from 'protractor';
54

65
/**
76
* The tests here basically just checking that the end styles

public/docs/_examples/architecture/e2e-spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { protractor, browser, element, by } from 'protractor/globals';
4-
import { ElementFinder } from 'protractor';
3+
import { protractor, browser, element, by, ElementFinder } from 'protractor';
54

65
const nameSuffix = 'X';
76

public/docs/_examples/attribute-directives/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
3+
import { browser, element, by } from 'protractor';
44

55
describe('Attribute directives', function () {
66

public/docs/_examples/cb-a1-a2-quick-reference/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
3+
import { browser, element, by } from 'protractor';
44

55
describe('Angular 1 to 2 Quick Reference Tests', function () {
66

public/docs/_examples/cb-component-communication/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
3+
import { browser, element, by } from 'protractor';
44

55
describe('Component Communication Cookbook Tests', function () {
66

public/docs/_examples/cb-component-relative-paths/e2e-spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
4-
import { ElementFinder } from 'protractor';
3+
import { browser, element, by, ElementFinder } from 'protractor';
54

65
describe('Cookbook: component-relative paths', function () {
76

public/docs/_examples/cb-dependency-injection/e2e-spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
4-
import { webdriver } from '../protractor-helpers';
3+
import { browser, element, by } from 'protractor';
4+
import { WebElement } from 'selenium-webdriver';
55

66
describe('Dependency Injection Cookbook', function () {
77

@@ -74,7 +74,7 @@ describe('Dependency Injection Cookbook', function () {
7474
let yellow = 'rgba(255, 255, 0, 1)';
7575

7676
expect(target.getCssValue('background-color')).not.toEqual(yellow);
77-
browser.actions().mouseMove(target as any as webdriver.WebElement).perform();
77+
browser.actions().mouseMove(target.getWebElement()).perform();
7878
expect(target.getCssValue('background-color')).toEqual(yellow);
7979
});
8080

public/docs/_examples/cb-dynamic-form-deprecated/e2e-spec.ts.disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
3+
import { browser, element, by } from 'protractor';
44

55
/* tslint:disable:quotemark */
66
describe('Dynamic Form Deprecated', function () {

public/docs/_examples/cb-dynamic-form/e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'; // necessary for es6 output in node
22

3-
import { browser, element, by } from 'protractor/globals';
3+
import { browser, element, by } from 'protractor';
44

55
/* tslint:disable:quotemark */
66
describe('Dynamic Form', function () {

0 commit comments

Comments
 (0)