Skip to content
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(e2e): Take screenshots for grid-list, list, icon, menu, radio, tabs, slide-toggle #3098

Merged
merged 5 commits into from
Feb 16, 2017

Conversation

tinayuangao
Copy link
Contributor

  • Updated button and checkbox e2e test so the screenshot wait for ripple animation to finish
  • Added screenshots for grid-list, list, icon, menu, radio, tabs, slide-toggle
  • Skipped some tests which UI is already tested. Also skipped e2e tests with animation.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 15, 2017
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

It looks like there's a minor lint issue, otherwise good. Is there a way we can see the screenshots generated by this?


describe('grid-list', () => {
beforeEach(() => browser.get('/grid-list'));

it('should render a grid list container', () => {
expectToExist('md-grid-list');
screenshot('');
Copy link
Member

Choose a reason for hiding this comment

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

This could be improved by either having the id be an optional param, or making it default to ''.

@tinayuangao
Copy link
Contributor Author

Made id optional and fixed lint.

Currently there's no way to see the screenshots. Once #2774 get in we can view the screenshots from https://material2-screenshots.firebaseapp.com/PR#

@tinayuangao tinayuangao added the action: merge The PR is ready for merge by the caretaker label Feb 16, 2017
@andrewseguin andrewseguin merged commit 3beccb9 into angular:master Feb 16, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants