Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(hierarchical-di): Correct avoidance example (#3086) and more #3091

Merged
merged 2 commits into from
Jan 13, 2017

Conversation

wardbell
Copy link
Contributor

@wardbell wardbell commented Jan 12, 2017

closes #3086
sample reworked to conform to our sample style, to make more sense, and cover the examples discussed
copy edits to bring closer to Google docs standards.

@wardbell wardbell changed the title docs(hierarchical-di): Correct avoidance example (#3086) and other tw… docs(hierarchical-di): Correct avoidance example (#3086) and more Jan 12, 2017
…ther tweaks

closes angular#3086
sample reworked to conform to our sample style, to make more sense, and cover the examples discussed
copy edits to bring closer to Google docs standards.
'edit button should be displayed');
});
describe('Heroes Scenario', () => {
let page = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting usage of the Page Objects pattern. There really is no reason to have it separately in smaller tests.

Copy link
Contributor Author

@wardbell wardbell Jan 12, 2017

Choose a reason for hiding this comment

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

My reason was that I was gathering together the queries I wanted to do in tests. Wasn't sure how many tests I would write but I was pretty sure the affordances should be involved.

Did it make the tests hard to read?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not at all, I think we should have more page objects like this in our e2e tests overall.

@wardbell wardbell force-pushed the docs-hdi-3086 branch 6 times, most recently from ffe5260 to bc4d02e Compare January 13, 2017 20:12
@wardbell wardbell merged commit 4253378 into angular:master Jan 13, 2017
@wardbell wardbell deleted the docs-hdi-3086 branch January 13, 2017 21:21
abdel-ships-it pushed a commit to abdel-ships-it/angular.io that referenced this pull request Feb 11, 2017
…ore (angular#3091)

* closes angular#3086
* samples reworked to conform to our sample style, make more sense, and cover the points in prose.
* copy edits to bring closer to Google docs standards.
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.

Mistake on bad-alternative example
3 participants