diff --git a/packages/react-devtools-inline/__tests__/__e2e__/profiler.test.js b/packages/react-devtools-inline/__tests__/__e2e__/profiler.test.js index c5ea7ee1a44ee..13612d4eb3ad2 100644 --- a/packages/react-devtools-inline/__tests__/__e2e__/profiler.test.js +++ b/packages/react-devtools-inline/__tests__/__e2e__/profiler.test.js @@ -41,7 +41,7 @@ test.describe('Profiler', () => { }); } - async function clickButtonAndVerifySnapshotSelecetorText( + async function clickButtonAndVerifySnapshotSelectorText( buttonTagName, expectedText ) { @@ -72,31 +72,31 @@ test.describe('Profiler', () => { const text = await getSnapshotSelectorText(); expect(text).toBe('1 / 3'); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-NextButton', '2 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-NextButton', '3 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-NextButton', '1 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-PreviousButton', '3 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-PreviousButton', '2 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-PreviousButton', '1 / 3' ); - await clickButtonAndVerifySnapshotSelecetorText( + await clickButtonAndVerifySnapshotSelectorText( 'SnapshotSelector-PreviousButton', '3 / 3' );