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

[EditableText] Improve tests for onConfirm and onCancel behavior #1310

Merged
merged 4 commits into from
Jul 7, 2017

Conversation

cmslewis
Copy link
Contributor

Verifies behavior that was reportedly buggy in #975

Checklist

  • Include tests

Changes proposed in this pull request:

  • Improved test for onConfirm behavior.
    • Verify that onCancel was not called.
    • Verify that new value was saved in input.
  • Improved test for onCancel behavior.
    • Verify that onConfirm was not called.
    • Verify that new value was saved in input.
  • Add test to verify that onConfirm was called when Enter pressed with unchanged value.

Reviewers should focus on:

Screenshot

@blueprint-bot
Copy link

Cleanups

Preview: documentation
Coverage: core | datetime

@llorca llorca modified the milestones: 1.22.0, 1.23.0 Jul 5, 2017
@adidahiya adidahiya merged commit 8c626c3 into master Jul 7, 2017
@adidahiya adidahiya deleted the cl/editabletext-975 branch July 7, 2017 21:37
@llorca llorca mentioned this pull request Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants