Skip to content

Commit

Permalink
Add Reassure mobile performance testing library (#49221)
Browse files Browse the repository at this point in the history
* Add sample reassure perf-test

* Add reassure library

* Add text input performance tests

* Resolve merge conflicts

* Add RichText performance test

* Update package-lock.json and Reassure current.perf hashes

* Resolve merge conflicts

* Remove HTMLTextInput performance test and update current perf

* Remove Reassure current.perf files from git control

* Resolve merge conflicts

* Update package-lock.json

* Resolve merge conflicts

* Remove Gallery block perf-native test

* Remove duplicate device-tests command

* Add rich-text.perf-test.js to test/native directory

* Add test:perf:baseline command

* Remove Rich Text index.perf-test.js from rich-text/test directory

* Add Rich Text Reassure tests for onFocus and onBlur

* Add Rich Text Reassure tests for onSelectionChange and onKeyPress

* Fix typo in Rich Text perf test filename

* Remove Reassure CI code from Github workflow

* Update Rich Text performance test descriptions

* Update Rich Text performance test descriptions

* Move Rich Text perf test to be colocated within Rich Text directory

* Remove failing Rich Text perf tests

* Update Rich Text performance test to remove duplicate test case

* Add Paragraph performance test case

* Move perf-native.js tests to colocated performance directory

* Remove unnecessary import declaration

* Remove reassure-tests.sh CI script

* Update Paragraph Reassure performance test description

* Update Rich Text performance test import and props

* Remove unused props from Paragraph Reassure performance test

* Drop the perf-* prefix from Reassure performance test extensions

* Update Reassure script test paths

* Remove Paragraph performance test

* Fix prop name in Rich Text native perf test

---------

Co-authored-by: David Calhoun <438664+dcalhoun@users.noreply.github.com>
  • Loading branch information
derekblank and dcalhoun authored Apr 5, 2023
1 parent 61a84ef commit de067f2
Show file tree
Hide file tree
Showing 7 changed files with 532 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gutenberg.zip
coverage
*-performance-results.json
.phpunit.result.cache
.reassure

# Directories/files that may appear in your environment
*.log
Expand Down
Loading

1 comment on commit de067f2

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in de067f2.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4623017197
📝 Reported issues:

Please sign in to comment.