-
Notifications
You must be signed in to change notification settings - Fork 11.9k
feat(test): protractor integration, e2e test sample #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(test): protractor integration, e2e test sample #94
Conversation
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a note saying that you need to have the server running (ng serve) to execute protractor tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Roger, it is done.
|
Thanks for the PR @filipesilva. I added a few comments, can you check? |
80f5c5c to
d2b33e3
Compare
|
Let me know what you'd like to do about In the meanwhile, do you have something else specific for me to do? Or should I just go over |
|
@filipesilva you can take any issue that you feel like taking. The focus now is to build a cross-platform e2e testing suite for the project, but any help would be appreciated. |
5b4397f to
df3e7c4
Compare
|
I moved the |
|
@filipesilva let's just figure out how we'll integrate this with |
|
Hm... although One would either run the unit tests once just to check everything is fine, or leave them running continuously while coding. In contrast, e2e tests are (in my experience) only ran once to check everything is fine. Thus it might make sense to run e2e tests while running unit tests in single run, but it does not make sense to run e2e when unit tests are not in single run. So to start off, I'd suggest that e2e tests are only ran explicitly, via |
|
@filipesilva right on - see my comment: #86 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docregion? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, a remnant of the devguide example, my bad :p
|
I'm not crazy about the manual steps we require, but we can fix that in follow up PRs. How about renaming @juliemr do you have anything else you'd like to see in CLI when scaffolding the project/components? |
df3e7c4 to
757c75e
Compare
|
I'm partial to just |
|
@filipesilva can you rebase the PR so we can get this merged? |
|
Apologies @cironunes, I had to return to docs for the last week. This isn't ready to be merged yet though. While looking at the matchers that Igor was recommending, I found out since the I will need to separate the e2e tests onto another folder, and provide it with |
dd508ad to
9deb8b3
Compare
|
I've updated the commit to reflect the major changes, so please review again. Highlights:
|
9deb8b3 to
8510c8e
Compare
|
@filipesilva can you rebase this with the latest changes from master? |
8510c8e to
fb89332
Compare
|
Rebased and confirmed it was still working. |
fb89332 to
9343669
Compare
9343669 to
b6baf78
Compare
b6baf78 to
a0c26a3
Compare
|
lgtm |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fix #72