Skip to content

test(): remove custom screenshot names - #18022

Merged
liamdebeasi merged 2 commits into
masterfrom
update-test-screenshots
Apr 12, 2019
Merged

liamdebeasi merged 2 commits into
masterfrom
update-test-screenshots

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Apr 12, 2019 •

Copy link
Copy Markdown
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): Tests

What is the current behavior?

Overlay tests had redundant screenshot names

What is the new behavior?

  • Removes additional mention of test in screen shot name (i.e. "alert: basic alert: basic")
  • Also fixes one of the toast tests that kept failing

Does this introduce a breaking change?

  • Yes
  • No

Other information

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Apr 12, 2019
@liamdebeasi
liamdebeasi marked this pull request as ready for review April 12, 2019 14:06

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could the toast tests be upset to match how alert / action sheet works? For example, here's what the action-sheet description is for the basic test when clicking the open an alert button:

Screen Shot 2019-04-12 at 12 43 39 PM

but the toast basic test when opening the bottom toast (or others) doesn't say basic:

Screen Shot 2019-04-12 at 12 43 27 PM

@liamdebeasi
liamdebeasi merged commit 1199c53 into master Apr 12, 2019
@liamdebeasi
liamdebeasi deleted the update-test-screenshots branch April 12, 2019 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants