Conversation
42c9e3a to
27f9810
Compare
|
Can you also split this into two commits? |
Protractor is no longer supported and has been deprecated since v19.
Remove Protractor since it's no longer supported and has been deprecated since v19; Remove the dependency.
27f9810 to
fb465eb
Compare
| @@ -49,11 +49,6 @@ ts_json_schema( | |||
| src = "src/builders/karma/schema.json", | |||
There was a problem hiding this comment.
Please remove Protractor from https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/README.md
| export type ServeBuilderTarget = BuilderTarget<Builders.DevServer, ServeBuilderOptions>; | ||
| export type ExtractI18nBuilderTarget = BuilderTarget<Builders.ExtractI18n, ExtractI18nOptions>; | ||
| export type E2EBuilderTarget = BuilderTarget<Builders.Protractor, E2EOptions>; | ||
| export type E2EBuilderTarget = BuilderTarget<E2eExternalBuilders, E2EOptions>; |
There was a problem hiding this comment.
We no longer need this, also remove E2EOptions
| export type E2EBuilderTarget = BuilderTarget<E2eExternalBuilders, E2EOptions>; |
| } | ||
|
|
||
| export interface BuilderTarget<TBuilder extends Builders, TOptions> { | ||
| export interface BuilderTarget<TBuilder extends Builders | E2eExternalBuilders, TOptions> { |
There was a problem hiding this comment.
| export interface BuilderTarget<TBuilder extends Builders | E2eExternalBuilders, TOptions> { | |
| export interface BuilderTarget<TBuilder extends Builders, TOptions> { |
| /** | ||
| * An enum of E2E external builders. | ||
| * Each enum value provides the fully qualified name of the associated builder. | ||
| */ | ||
| enum E2eExternalBuilders { | ||
| Playwright = 'playwright-ng-schematics:playwright', | ||
| Cypress = '@cypress/schematic:cypress', | ||
| Nightwatch = '@nightwatch/schematics:nightwatch', | ||
| WebdriverIO = '@wdio/schematics:wdio', | ||
| Puppeteer = '@puppeteer/ng-schematics:puppeteer', | ||
| } | ||
|
|
There was a problem hiding this comment.
| /** | |
| * An enum of E2E external builders. | |
| * Each enum value provides the fully qualified name of the associated builder. | |
| */ | |
| enum E2eExternalBuilders { | |
| Playwright = 'playwright-ng-schematics:playwright', | |
| Cypress = '@cypress/schematic:cypress', | |
| Nightwatch = '@nightwatch/schematics:nightwatch', | |
| WebdriverIO = '@wdio/schematics:wdio', | |
| Puppeteer = '@puppeteer/ng-schematics:puppeteer', | |
| } |
alan-agius4
left a comment
There was a problem hiding this comment.
ts-node should also be removed as a dependencies in all package.json
| @@ -1,93 +0,0 @@ | |||
| import express from 'express'; | |||
There was a problem hiding this comment.
This tests it needs, it seems that it was not migrated yet to not use protractor.
angular-cli/.github/workflows/ci.yml
Lines 203 to 238 in bfdc7b0
//cc @clydin
There was a problem hiding this comment.
So we should update it with any of the new E2E tools or rather create new tests from scratch?
I had the impression that it's Protractor-specific.
PR Checklist
Please check to confirm your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the new behavior?
Drop Protractor from the respository since it's no longer supported.
Does this PR introduce a breaking change?