From 1fd09277a68a264d048b2d2dd08b759ac082318b Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Mon, 23 Nov 2020 20:17:07 +0200 Subject: [PATCH] test(docs-infra): remove redundant code from `upgrade-module` e2e tests (#39818) This commit removes some code that is no longer necessary for the `upgrade-module` docs example e2e tests to run. It used to be necessary in earlier version of Protractor but not any more. PR Close #39818 --- aio/content/examples/upgrade-module/e2e-spec.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aio/content/examples/upgrade-module/e2e-spec.ts b/aio/content/examples/upgrade-module/e2e-spec.ts index 423db5ab4b..4d1c31c74a 100644 --- a/aio/content/examples/upgrade-module/e2e-spec.ts +++ b/aio/content/examples/upgrade-module/e2e-spec.ts @@ -2,12 +2,6 @@ import { browser, element, by } from 'protractor'; describe('Upgrade Tests', () => { - beforeAll(() => { - // Set protractor to hybrid mode. - browser.rootEl = 'body'; - browser.ng12Hybrid = true; - }); - describe('AngularJS Auto-bootstrap', () => { beforeAll(() => {