Skip to content

test(button): ionic theme tests#29201

Merged
joselrio merged 4 commits intoROU-4815from
sp/ROU-4815
Mar 25, 2024
Merged

test(button): ionic theme tests#29201
joselrio merged 4 commits intoROU-4815from
sp/ROU-4815

Conversation

@sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Mar 21, 2024

Issue number: N/A


What is the current behavior?

Adding new e2e tests into Ionic Framework can be difficult for new contributors when it comes to knowing where existing test cases exist and how to additionally add a new theme or option to the test.

To avoid a lot of back and forth feedback in Github comments, I split up the test on the original PR to help demonstrate how to match existing test structures.

What is the new behavior?

  • Removes the proposed test specific to the Ionic theme.
  • Migrates the tests into the existing e2e files for button, adding specific test cases that only apply to the ionic theme.
  • Added screenshot references

In this work, I tried to correct some legacy folder naming:

  • button/test/roundbutton/test/shape
  • For fill="clear" I updated the screenshot names, but left the folder structure. There is more work here to organize fill="outline" and it is not required at this time.

Does this introduce a breaking change?

  • Yes
  • No

Other information

I left the HTML template for the ionic theme test alone. I figure this is helpful to the developer, until the primary PR is approved. Then it could be removed if it is no longer useful.

@github-actions github-actions bot added the package: core @ionic/core package label Mar 21, 2024
@sean-perkins sean-perkins marked this pull request as ready for review March 21, 2024 21:18
@sean-perkins sean-perkins requested a review from a team as a code owner March 21, 2024 21:18
@sean-perkins sean-perkins requested review from brandyscarney and joselrio and removed request for a team March 21, 2024 21:18
@joselrio joselrio merged commit 961ef7e into ROU-4815 Mar 25, 2024
@joselrio joselrio deleted the sp/ROU-4815 branch March 25, 2024 10:34
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.

3 participants