Skip to content

Comments

refactor: drop protractor#32562

Open
hawkgs wants to merge 2 commits intoangular:mainfrom
hawkgs:drop-protractor
Open

refactor: drop protractor#32562
hawkgs wants to merge 2 commits intoangular:mainfrom
hawkgs:drop-protractor

Conversation

@hawkgs
Copy link
Member

@hawkgs hawkgs commented Feb 24, 2026

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the new behavior?

Drop Protractor from the respository since it's no longer supported.

Does this PR introduce a breaking change?

  • Yes
  • No

@clydin
Copy link
Member

clydin commented Feb 24, 2026

Can you also split this into two commits?
Probably one for @schematics/angular with the schematic removal and one for @angular-devkit/build-angular with the builder/dep removal.

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.
@hawkgs hawkgs marked this pull request as ready for review February 25, 2026 13:17
@hawkgs hawkgs requested a review from clydin February 25, 2026 13:17
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Feb 25, 2026
@@ -49,11 +49,6 @@ ts_json_schema(
src = "src/builders/karma/schema.json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer need this, also remove E2EOptions

Suggested change
export type E2EBuilderTarget = BuilderTarget<E2eExternalBuilders, E2EOptions>;

}

export interface BuilderTarget<TBuilder extends Builders, TOptions> {
export interface BuilderTarget<TBuilder extends Builders | E2eExternalBuilders, TOptions> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export interface BuilderTarget<TBuilder extends Builders | E2eExternalBuilders, TOptions> {
export interface BuilderTarget<TBuilder extends Builders, TOptions> {

Comment on lines +41 to +52
/**
* 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',
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/**
* 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',
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular-devkit/build-angular area: @schematics/angular

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants