Skip to content

Commit

Permalink
test: Simplify selectRangeInRichText usage (#53112)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalhoun authored Jul 28, 2023
1 parent 27b117b commit d330210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/pullquote/test/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe( 'Pullquote', () => {
preventDefault() {},
keyCode: ENTER,
} );
selectRangeInRichText( citationTextInput, 2, 2 );
selectRangeInRichText( citationTextInput, 2 );
fireEvent( citationTextInput, 'onKeyDown', {
nativeEvent: {},
preventDefault() {},
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/quote/test/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe( 'Quote', () => {
preventDefault() {},
keyCode: ENTER,
} );
selectRangeInRichText( citationTextInput, 2, 2 );
selectRangeInRichText( citationTextInput, 2 );
fireEvent( citationTextInput, 'onKeyDown', {
nativeEvent: {},
preventDefault() {},
Expand Down

1 comment on commit d330210

@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 d330210.
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/5691623503
📝 Reported issues:

Please sign in to comment.