Skip to content

test(textarea): migrate to generators - #27349

Merged
liamdebeasi merged 18 commits into
mainfrom
textarea-generator
May 2, 2023
Merged

liamdebeasi merged 18 commits into
mainfrom
textarea-generator

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented May 1, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

Textarea tests are using legacy syntax

What is the new behavior?

  • Textarea tests use generator syntax

A few notable changes:

3d44815

I removed the RTL tests as autogrow behavior does not vary across directions. I removed the associated screenshot files too.

4fcb9a8

I added an index.html file as per the E2E test best practices. There were some screenshots that were no longer in use, so I removed them.

753d95f

There were some screenshots that were not being tested here as well in the bottom-content.e2e-legacy.ts directories (the associated test file no longer exists).

bc0d15f

I updated the legacy autogrow tests to not check RTL. Same reasoning as the other autogrow tests above.

3c373b5

I updated the event tests to not run across modes because that behavior does not vary.

All other tests were ported directly to generator syntax.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@liamdebeasi liamdebeasi changed the title Textarea generator test(textarea): migrate to generators May 1, 2023
@github-actions github-actions Bot added the package: core @ionic/core package label May 1, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review May 1, 2023 20:52
@liamdebeasi
liamdebeasi requested a review from a team as a code owner May 1, 2023 20:52

@sean-perkins sean-perkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good. I'm not sure why I had screenshots tests for RTL on the auto grow changes... I must have just done it because of the @include margin usage, but that doesn't have start/end styling.

@liamdebeasi
liamdebeasi added this pull request to the merge queue May 2, 2023
Merged via the queue into main with commit ce86335 May 2, 2023
@liamdebeasi
liamdebeasi deleted the textarea-generator branch May 2, 2023 13: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