Skip to content

test(range): migrate to generators - #27369

Merged
liamdebeasi merged 23 commits into
mainfrom
range-generator
May 4, 2023
Merged

liamdebeasi merged 23 commits into
mainfrom
range-generator

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented May 3, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

Range tests are using legacy syntax

What is the new behavior?

  • Range tests are using generator syntax

849e127

  • The scroll target tests do not vary across modes so I removed those additional checks.

0b8c158

  • The standalone directory had some screenshots that were not in use, so I deleted them

5b306f2

  • The modern range event tests do not vary across modes/directions, so I removed the additional checks.

699fb62

  • The legacy scroll target tests do not vary across modes so I removed those additional checks.

c7dbb2d

  • The legacy range functional tests do not vary across modes/directions, so I removed the additional checks.

aa06ba8

  • The legacy range event tests do not vary across modes/directions, so I removed the additional checks.

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.

@github-actions github-actions Bot added the package: core @ionic/core package label May 3, 2023
@liamdebeasi liamdebeasi changed the title Range generator test(range): migrate to generators May 3, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review May 3, 2023 20:40
@liamdebeasi
liamdebeasi requested a review from a team as a code owner May 3, 2023 20:40
@liamdebeasi
liamdebeasi enabled auto-merge May 3, 2023 20:41
* TODO FW-2873
*/
test.fixme('should emit start/end events', async ({ page }) => {
await page.setContent(`<ion-range value="20" legacy="true"></ion-range>, config`);

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.

config needs to be moved outside of the string.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great catch! Fixed in f0c3f9a

@liamdebeasi
liamdebeasi requested a review from thetaPC May 4, 2023 12:46

@thetaPC thetaPC 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.

LGTM

@liamdebeasi
liamdebeasi added this pull request to the merge queue May 4, 2023
Merged via the queue into main with commit 625c872 May 4, 2023
@liamdebeasi
liamdebeasi deleted the range-generator branch May 4, 2023 15:39
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