octicon-rss(16/)
You've already forked ionic-framework
mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> Select and select popover tests are using legacy syntax ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Select and select popover tests are using generator syntax915bb49fad- The select custom behavior does not vary across directions, so I removed the extra RTL checks.01555bd44b- The single value screenshots were not being used, so I removed them.8b4cffcaf8- The spec screenshots were not being used, so I removed them.e50b08b2ed- The legacy standalone check does not vary across directions, so I removed the RTL checks.43e26bab77- The legacy single value tests do not vary across directions, so I removed the the RTL checks4935a68aab- The basic tests were creating screenshots of each overlay as they were opened. However, we already have test coverage for how each overlay is rendered in each overlay test suite. As a result, I removed the screenshots in favor of a `toBeVisible` assertion. This ensures that overlays are presented with the select, which is what I think we want to prioritize testing. - These same tests were also waiting for overlays to dismiss. This behavior is already tested in the respective overlay test suites, so I removed the dismiss calls.8cc6c426f1- The legacy basic tests were creating screenshots of each overlay as they were opened. However, we already have test coverage for how each overlay is rendered in each overlay test suite. As a result, I removed the screenshots in favor of a `toBeVisible` assertion. This ensures that overlays are presented with the select, which is what I think we want to prioritize testing. - These same tests were also waiting for overlays to dismiss. This behavior is already tested in the respective overlay test suites, so I removed the dismiss calls. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> --------- Co-authored-by: ionitron <hi@ionicframework.com>