Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

fix(@schematic/angular): e2e should use the prefix #720

Merged
merged 1 commit into from
May 14, 2018

Conversation

cexbrayat
Copy link
Member

@cexbrayat cexbrayat commented Apr 17, 2018

Now that the CLI repects the prefix specified, the generated e2e test should also use it.

Currently a project generated with rc.5 fails the e2e test right away.

Another solution is to avoid giving the prefix option to the e2e schematic, and simply revert the title field of app.component.ts to app. See #721

},
"prefix": {
"description": "The prefix to apply.",
"type": "string"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should probably have a default or some way to pickup the value from an existing project on e2e so people can do ng generate e2e without a prefix.

Copy link
Member Author

Choose a reason for hiding this comment

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

@hansl I added a default (app as we do everywhere for prefix. Also added format: html-selector and alias: p to be coherent.

Now that the CLI repects the prefix specified, the generated e2e test should also use it.
@hansl hansl merged commit 8a72879 into angular:master May 14, 2018
cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
filipesilva pushed a commit that referenced this pull request May 17, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
filipesilva pushed a commit that referenced this pull request May 24, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
clydin pushed a commit that referenced this pull request May 29, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants