Skip to content

test(action-sheet): improve test performance - #27336

Merged
liamdebeasi merged 3 commits into
mainfrom
action-sheet-test-perf
May 5, 2023
Merged

liamdebeasi merged 3 commits into
mainfrom
action-sheet-test-perf

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Apr 28, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

I noticed some test slowdowns with the introduction of action sheet tests, so I wanted to try and find a way to speed these tests up.

What is the new behavior?

  • htmlAttributes test was ported to a spec test
  • the functionality/behavioral tests were being run per-mode when they did not need to be, so I removed the per-mode checks
  • Moved screenshot tests to a separate file so they can be better paralellelized

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 Apr 28, 2023
@liamdebeasi liamdebeasi changed the title test(action-sheet): update basic tests test(action-sheet): improve test performance Apr 28, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review May 4, 2023 19:18
@liamdebeasi
liamdebeasi requested a review from a team as a code owner May 4, 2023 19:18
@liamdebeasi
liamdebeasi enabled auto-merge May 4, 2023 20:36
@liamdebeasi
liamdebeasi added this pull request to the merge queue May 5, 2023
Merged via the queue into main with commit 1be7333 May 5, 2023
@liamdebeasi
liamdebeasi deleted the action-sheet-test-perf branch May 5, 2023 16:08
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